Node:Setting up periodic jobs, Next:Aliases, Previous:Setting up the default database, Up:Installation
Allow the new user gnats access to cron and at. To
do this, add the name gnats to the files cron.allow and
at.allow, which normally reside in the directory
/var/spool/cron. If these files do not exist, make sure
gnats does not appear in either of the files cron.deny
and at.deny (in the same directory). If you changed the name
of the GNATS user during configure, remember to substitute as
appropriate in the previous steps.
Create a crontab entry that periodically runs the program
queue-pr with the --run option
(see queue-pr). For example, to run
queue-pr --run every ten minutes, create a file called
.mycron in the home directory of the user gnats which
contains the line:
0,10,20,30,40,50 * * * * exec-prefix/libexec/gnats/queue-pr --run
(Specify the full path name for queue-pr.) Then run
crontab .mycron
See the man pages for cron and crontab for details
on using cron.