Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Boomer] Cron Job Help

Quote Reply
Re: [Boomer] Cron Job Help In reply to
What operating system are you using? If you want to test the script from say a unix shell then you can just type:

./subscribe.pl --send

at the command prompt - providing the permissions are -rwxr-xr-x (ie it is executable). The call to perl is in the first line of the script so providing it finds perl it will run (and since this is all set at install time this should be ok).

Now to cron it thats your next step.

As per the instructions just put:
"0 2 * * * /path_to/gforum/admin/cron/subscribe.pl --send" in your crontab.

If you have RedHat linux might just put a command file in /etc/cron.daily that just has:
/path_to/gforum/admin/cron/subscribe.pl --send
in it. Make sure the command file is rwx-r-xr-x as well. Take a look at other scripts in /etc/cron.daily (or hourly) to see how to do it.

doug
Subject Author Views Date
Thread Cron Job Help Boomer 7924 Oct 15, 2003, 8:15 PM
Post Re: [Boomer] Cron Job Help
dougrobb 7801 Oct 15, 2003, 8:41 PM
Thread Re: [Boomer] Cron Job Help
Alex 7794 Oct 16, 2003, 1:41 PM
Thread Re: [Alex] Cron Job Help
Boomer 7787 Oct 16, 2003, 6:38 PM
Thread Re: [Boomer] Cron Job Help
Alex 7797 Oct 16, 2003, 7:54 PM
Thread Re: [Alex] Cron Job Help
Boomer 7785 Oct 17, 2003, 8:44 AM
Thread Re: [Boomer] Cron Job Help
yogi 7772 Oct 17, 2003, 9:11 AM
Thread Re: [yogi] Cron Job Help
Boomer 7771 Oct 17, 2003, 8:47 PM
Thread Re: [Boomer] Cron Job Help
dougrobb 7749 Oct 18, 2003, 9:38 AM
Thread Re: [dougrobb] Cron Job Help
Boomer 7759 Oct 18, 2003, 11:01 AM
Post Re: [Boomer] Cron Job Help
carfac 7743 Oct 20, 2003, 9:39 PM
Post Re: [Boomer] Cron Job Help
Jagerman 7739 Oct 21, 2003, 3:26 AM