A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.
Moderators: chulett , rschirm , roy
vijaydev
Participant
Posts: 54 Joined: Sun May 20, 2007 6:31 pm
Post
by vijaydev » Wed Sep 10, 2008 6:54 am
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
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Sep 10, 2008 7:14 am
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
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Sep 10, 2008 8:09 am
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 » Wed Sep 10, 2008 8:58 am
Yes, its not triggering the script at 1.30
Vijay
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Sep 10, 2008 9:05 am
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 » Wed Sep 10, 2008 2:58 pm
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
Posts: 383 Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore
Post
by Nagaraj » Wed Sep 10, 2008 3:08 pm
Yes is the corn daemon running!
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Sep 10, 2008 3:15 pm
Aiieee, the corn daemon! Run for your lives!
-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 » Wed Sep 10, 2008 3:32 pm
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.