Page 1 of 1

Crontab is not working for hours

Posted: Wed Sep 10, 2008 6:54 am
by vijaydev
Hi,

I have a crontab entry for my unix script, its working properly for the mins but its not working for hours what was the problem, please anyone help to reslove this. I didint get any error messages.

The entries is :

30 * * * * ksh/opt/node2/data/MIS_Reporting/scripts/mis_rm_load_dev.sh

this is working properly.

30 13 * * * ksh/opt/node2/data/MIS_Reporting/scripts/mis_rm_load_dev.sh

its not working.

Thanks in advance.

Vijay

Posted: Wed Sep 10, 2008 7:14 am
by chulett
What's not working about it? Meaning, what do you think it should be doing that it's not?

Posted: Wed Sep 10, 2008 8:09 am
by chulett
It's not triggering the script when? The second entry means run every day at 1:30 in the afternoon, is that when its 'not triggering'?

Posted: Wed Sep 10, 2008 8:58 am
by vijaydev
Yes, its not triggering the script at 1.30

Posted: Wed Sep 10, 2008 9:05 am
by chulett
Well, there's certainly nothing wrong with the look of the crontab entry. Take your problem to an SA, see if they can help troubleshoot it. You could also add some 'breadcrumbs' to the script to check if it is indeed not even starting or failing somewhere inside the script after it starts. Unless you've already done that, of course.

Posted: Wed Sep 10, 2008 2:58 pm
by ray.wurlod
Is the cron daemon running?

Posted: Wed Sep 10, 2008 3:08 pm
by Nagaraj
Yes is the corn daemon running!

Posted: Wed Sep 10, 2008 3:15 pm
by chulett
Aiieee, the corn daemon! Run for your lives!

:wink:

Posted: Wed Sep 10, 2008 3:32 pm
by ray.wurlod
Too corny.

There must have been an earthquake while I was typing - moved the keyboard.

Is the cron daemon running?