gnus: Batching Agents

 
 6.9.13 Batching Agents
 ----------------------
 
 Having the Gnus Agent fetch articles (and post whatever messages you’ve
 written) is quite easy once you’ve gotten things set up properly.  The
 following shell script will do everything that is necessary:
 
    You can run a complete batch command from the command line with the
 following incantation:
 
      #!/bin/sh
      emacs -batch -l ~/.emacs -l ~/.gnus.el -f gnus-agent-batch >/dev/null 2>&1