Crontab is not working for hours

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
vijaydev
Participant
Posts: 54
Joined: Sun May 20, 2007 6:31 pm

Crontab is not working for hours

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What's not working about it? Meaning, what do you think it should be doing that it's not?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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'?
-craig

"You can never have too many knives" -- Logan Nine Fingers
vijaydev
Participant
Posts: 54
Joined: Sun May 20, 2007 6:31 pm

Post by vijaydev »

Yes, its not triggering the script at 1.30
Vijay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is the cron daemon running?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Yes is the corn daemon running!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Aiieee, the corn daemon! Run for your lives!

:wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Too corny.

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

Is the cron daemon running?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply