I have a relatively complex set of cron jobs running and it would be really useful for me to ask the system for the list of the next n cron tasks that will be performed.
So given a particular crontab i.e (copied and pasted from http://adminschoice.com/crontab-quick-reference).
30 0 1 1,6,12 * A //00:30 Hrs on 1st of Jan, June & Dec. 0 20 * 10 1-5 B //8.00 PM every weekday (Mon-Fri) only in Oct. 0 0 1,10,15 * * C //midnight on 1st ,10th & 15th of month 5 0 10 * 1 D At 12.10 every Monday & on 10th of every month
I could get back the list (assuming we start 31st May)
Cron jobs in queue: B 2000 Tuesday C 0000 Wednesday B 8pm Wednesday B 8pm Thursday