I am trying to write a script that will show me what jobs are scheduled thru cron on a specific date.
Does anyone have a clever plan on how to do this ?
The crontab entry looks like this ;
00 19 * * 1-4 /home/cleanup
00 04 1-5,15,28 * * /home/archive
I can get the first entry without a problem,but how do I tell my ksh script to deal with any combination of * , or - ?
Does anyone have a clever plan on how to do this ?
The crontab entry looks like this ;
00 19 * * 1-4 /home/cleanup
00 04 1-5,15,28 * * /home/archive
I can get the first entry without a problem,but how do I tell my ksh script to deal with any combination of * , or - ?