LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CRON question (https://www.linuxquestions.org/questions/linux-newbie-8/cron-question-231443/)

aurelio26 09-16-2004 02:09 PM

CRON question
 
How long I have to wait after updating crontab to check if it works or not?

I tried to add new job, but time passed over half an hour and nothing happened.
This is what I did
crontab -l > new_crontab

after I VI the file I added this line
30 1100 * * * /FULL_PATH/file.sh

crontab -u root new_crontab

I test file with at
at 1130 < file.sh

and it works fine, but I want this script to be executed 11:30 everyday.



Thanks

michaelk 09-16-2004 02:13 PM

Quote:

30 1100 * * * /FULL_PATH/file.sh
Typo? Should be
30 11 * * * /FULL_PATH/file.sh

I assume that file.sh permissions are set to executable.

aurelio26 09-16-2004 03:19 PM

You're right man,

Typo!!!!

Thanks michaelk!


All times are GMT -5. The time now is 03:27 AM.