Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Boomer] Cron Job Help

Quote Reply
Re: [Boomer] Cron Job Help In reply to
In Reply To:
PS: should the last part of the code line have "-" or "--" or none (-send)? I've gotten it all three ways from people.

You can use either the long form ('--send') or the short form ('-s'). They do the same thing. The --debug option, if you add it for any reason, is the same: --debug or -d.



Yes, GForum does require a cron job to run nightly in order to send out the forum subscription e-mails. The script is located at /path/to/your/gforum/admin/cron/subscribe.pl. The output of the --help option is below:

Code:
[jagerman@cytherea cron]$ ./subscribe.pl --help

Gossamer Forum Subscription Mailer
Usage: ./subscribe.pl --send [--debug] [-f debugfile]

This script sends out the forum subscriptions. You should run this
script automatically once a night via cron, or windows scheduler.

To send the mailings, enter:

./subscribe.pl --send

To send it automatically via cron, you would add the following:

0 2 * * * /home/jagerman/projects/gforum/cgi/admin/cron/subscribe.pl --send

to your crontab. You can optionally add --debug to display
debug information. The '-f filename' option will write any
debugging messages and/or errors into the file specified.

The --send and --debug options may be shortened to -s and -d,
repectively.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread Cron Job Help Boomer 7839 Oct 15, 2003, 8:15 PM
Post Re: [Boomer] Cron Job Help
dougrobb 7717 Oct 15, 2003, 8:41 PM
Thread Re: [Boomer] Cron Job Help
Alex 7710 Oct 16, 2003, 1:41 PM
Thread Re: [Alex] Cron Job Help
Boomer 7703 Oct 16, 2003, 6:38 PM
Thread Re: [Boomer] Cron Job Help
Alex 7714 Oct 16, 2003, 7:54 PM
Thread Re: [Alex] Cron Job Help
Boomer 7698 Oct 17, 2003, 8:44 AM
Thread Re: [Boomer] Cron Job Help
yogi 7688 Oct 17, 2003, 9:11 AM
Thread Re: [yogi] Cron Job Help
Boomer 7686 Oct 17, 2003, 8:47 PM
Thread Re: [Boomer] Cron Job Help
dougrobb 7665 Oct 18, 2003, 9:38 AM
Thread Re: [dougrobb] Cron Job Help
Boomer 7672 Oct 18, 2003, 11:01 AM
Post Re: [Boomer] Cron Job Help
carfac 7658 Oct 20, 2003, 9:39 PM
Post Re: [Boomer] Cron Job Help
Jagerman 7654 Oct 21, 2003, 3:26 AM