[svlug] Cron not working

Raj Shekhar rajlist at rajshekhar.net
Wed Aug 5 12:30:34 PDT 2009


In infinite wisdom Skip Evans said the following On 8/5/09 6:20 AM:
> Hey all,
> 
> I created the following cron job with
> 
> crontab -e
> 
> as root, but it won't run.
> 
> 
> # m 	h  	dom 	mon 	dow   	command
> 1	8	*	*	*	/bin/cp /mnt/BSP_usr/backup/* /usr/backup/
> 
> 
> Any help would be greatly appreciated.

do  a 'sudo touch /etc/cron.deny'

and create a dummy cron job to run every minute to verify it is working.


> 
> 
> grep CRON /var/log/syslog
> 


make sure you have a line like this in your /etc/syslog

'
cron.* /var/log/syslog
'

and restart syslogd.  That will make cron send its messages to the 
/var/log/syslog file.

-- 
Raj Shekhar
-
I love this planet! I've got wealth, fame, and access to the depths of
sleaze that those things bring.
-
Read the latest at my blog:
"interesting meetup on July 14" 
<http://rajshekhar.net/blog/archives/348-interesting-meetup-on-July-14.html>




More information about the svlug mailing list