Problem with cronjob

Robert Fitzpatrick lists at webtent.net
Thu Jun 2 19:33:58 GMT 2005


Always worked well when I dump a script into the /etc/periodic/daily
folder and set permissions to have a script run automatically each
night. But this is not working for the Spamassassin rulesdujour script.
I can run the script manually, no problem, any ideas? Here is the bottom
of that directory, my own scripts prefixed with '8??-webtent', the backup
and cvsports scripts run perfectly. The only difference I see in these three scripts is the rulesdujour calls /bin/bash, which is a sym link to /usr/local/bin/bash, the other two call /bin/sh. Should I change that?

-rwxr-xr-x   1 root  wheel    723 Jan 10  2004 500.queuerun
-rwxr-xr-x   1 root  wheel   7432 Dec 14 09:08 800.webtent-backup
-rwxr-xr-x   1 root  wheel     71 Mar 22 12:43 810.webtent-cvsports
-rwxr-xr-x   1 root  wheel  50364 Mar 23 23:41 820.webtent-rulesdujour
-rwxr-xr-x   1 root  wheel    712 Jan 10  2004 999.local

My daily run log shows the cvsports activity and stops right there:

...
 Edit ports/x11-wm/xfce4-session/Makefile
 Edit ports/x11-wm/xfce4-session/pkg-plist
Finished successfully

666196 bytes transferred in 2.5 seconds (263.32 kBps)

-- End of daily output --

-- 
Robert



More information about the freebsd-questions mailing list