Re: [CentOS] crontab won't work

2009-10-31 Thread Niki Kovacs
nate a écrit :
 Niki Kovacs wrote:
 
 Now I don't have the slightest clue why this doesn't work. What's the
 magic word here ?
 
 You check the cron log? maybe it ran it just had an error so
 it didn't produce the results you expected.
 

In fact it ran OK. Only the result wasn't as expected :o)

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab won't work

2009-10-30 Thread Dianne Yumul

On Oct 30, 2009, at 9:29 AM, Niki Kovacs wrote:

Now here's what I have on the local backup server :

[r...@grossebertha:~] # crontab -l
24 17 * * * /usr/local/bin/sauvegarde.sh


You may have checked already, but make sure that crond is running,  
i.e. /sbin/service crond status. I get crond (pid 1706) is running


Thanks,

Dianne___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab won't work

2009-10-30 Thread nate
Niki Kovacs wrote:

 Now I don't have the slightest clue why this doesn't work. What's the
 magic word here ?

You check the cron log? maybe it ran it just had an error so
it didn't produce the results you expected.

It's also good to send STDOUT/STDERR to a file for easier debugging
of cron stuff.

Also note that cron takes a minute to load the config, so for
example if it was :23 after the hour and you put in a new entry to
run at :24 after the hour it likely will not run. Just thought to
toss that in in the event you tried something like that.

nate


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos