List jobs scheduled in cron between two specified date-times [message #515232] |
Fri, 08 July 2011 22:42 |
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.
|
|
|
|