Home » Infrastructure » Unix » List jobs scheduled in cron between two specified date-times (AIX 5.3)
List jobs scheduled in cron between two specified date-times [message #515232] Fri, 08 July 2011 22:42 Go to next message
ghosh_shibaji
Messages: 8
Registered: February 2005
Location: Kolkata
Junior Member
Can anyone provide me with a script which will list the jobs scheduled in cron between two specified date-times. The two date-times will be passed as a parameter. Fo e.g., the script will be executed as
$ <script_name> YYYY-MM-DD-HH24-MI YYYY-MM-DD-HH24-MI
1st paraneter [YYYY-MM-DD-HH24-MI] is the start date-time and 2nd parameter [YYYY-MM-DD-HH24-MI] is the end date-time.

The script should have checks for all possible types of cron entries (like 00,05,10 or 00-20 etc types).

Thanks in advance.
Re: List jobs scheduled in cron between two specified date-times [message #515235 is a reply to message #515232] Sat, 09 July 2011 00:10 Go to previous message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Regards
Michel
Previous Topic: calling sqlscript from shell script(2 Merged)
Next Topic: checking values during script execuation in solaris
Goto Forum:
  


Current Time: Sat Nov 23 06:07:47 CST 2024