Home » Infrastructure » Unix » Crontab Scheduler issue?
Crontab Scheduler issue? [message #98356] Mon, 09 August 2004 09:43 Go to next message
Red
Messages: 18
Registered: October 2003
Junior Member
Hi all - I am using the following scheduled script in crontab to make it run on 2nd Wednesday of every month. Some how it is not working correctly. Can any one suggest where the problem is? Any help is greatly appreciated!

00 16 8-14 * 3 /n9/yze_jobs/monthly_load.ksh
Re: Crontab Scheduler issue? [message #98357 is a reply to message #98356] Mon, 09 August 2004 12:41 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Hi,

Do you see any entries in your /var/log/cron file? If
you see errors, please post them here. If you don't
see anything, your job is not running or is running
at the wrong times.

Best regards.

Frank
Re: Crontab Scheduler issue? [message #98358 is a reply to message #98357] Wed, 11 August 2004 05:45 Go to previous messageGo to next message
Red
Messages: 18
Registered: October 2003
Junior Member
Frank - It is running properly, but at the wrong times.
Re: Crontab Scheduler issue? [message #98359 is a reply to message #98358] Thu, 12 August 2004 04:34 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Hi,

"00 16 8-14 * 3 /n9/yze_jobs/monthly_load.ksh" -

minute (0-59) = 00
hour (0-23) = 16
day of the month (1-31) = 8-14
month of the year (1-12) = * (ALL)
day of the week (0-6 with 0=Sunday) = 3

So, your job should run every Wednesday between the 8th and 14th of the month, at 16:00.

Best regards.

Frank
Re: Crontab Scheduler issue? [message #98412 is a reply to message #98356] Mon, 20 September 2004 07:35 Go to previous message
gopal krishna
Messages: 5
Registered: September 2004
Junior Member
Hi,

have you given dot in line on crontab before script?

"00 16 8-14 * 3 . /n9/yze_jobs/monthly_load.ksh" -

Regards
Gopal
Previous Topic: Multiple Oracle client
Next Topic: java.sql.SQLException: ORA-00020: maximum number of processes (196) exceeded
Goto Forum:
  


Current Time: Wed Apr 24 08:24:56 CDT 2024