Operating System - HP-UX
1752679 Members
5282 Online
108789 Solutions
New Discussion юеВ

Re: cronjob no longer running like before

 
SOLVED
Go to solution

cronjob no longer running like before

good day,

to make it short, I have a cronjob that was running perfectly a few days ago but now it no longer produces the desired output. And when I checked the cron log I get this entry
"CMD: * /u21/smart/orders/cron/synch/scripts/load_file.sh #10
root 2093 c Tue Nov 25 12:49:03 EAT 2008
"
when before it was running normally it did not have the "*" at the start of the script. Could this be an error indicator? How can I check?

Thanks
5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: cronjob no longer running like before

>it did not have the "*" at the start

It is probably the obvious, you have too many fields at the start and it extended over to the script field?
minute hour monthday month weekday command

Re: cronjob no longer running like before

below is the actual crontab entry,
00,10,20,30,40,50 12,13,14,15,16,17,18,19,20,21,22,23 * * * * /u21/smart/orders/cron/synch/scripts/load_file.sh #10

I think you're right there is an extra "*". I think I need to re-assign you the point. If you would be so kind as to reply so I can assign to you the more appropriate point.

Thanks a lot!!

Re: cronjob no longer running like before

Thank you very much Sir Dennis, I guess somebody made a bubu while tinkering with the crontab.

Thanks
Dennis Handly
Acclaimed Contributor

Re: cronjob no longer running like before

... 12,13,14,15,16,17,18,19,20,21,22,23 ...

It might be easier to understand if you use:
... 12-23 ...

Re: cronjob no longer running like before

Thank you Sir I'll make the adjustment.