...

View Full Version : crontab issue



Bobafart
09-17-2012, 04:40 PM
Hi
I have a crontab:

0 6 * * * cd /path/to/file

which is supposed to execute every morning at 6:00

problem is, for some reason, it executes every minute for 60 minutes... strange.

what am I doing wrong? no other crontabs exist pointing to this file

Spookster
09-18-2012, 12:33 AM
Hi
I have a crontab:

0 6 * * * cd /path/to/file

which is supposed to execute every morning at 6:00

problem is, for some reason, it executes every minute for 60 minutes... strange.

what am I doing wrong? no other crontabs exist pointing to this file

I really don't see anything wrong with what you have but maybe try this?
00 06 * * * cd /path/to/file

Not sure if the missing 0's make a difference. The crontab definition doesn't mention needing 2 digits for those fields but I have see crontabs using 2 verses 1 digit.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum