From: Hal Fulton Date: 2006-04-05T12:57:21+09:00 Subject: Re: Possible RubyQuiz idea ara.t.howard@noaa.gov wrote: > On Tue, 4 Apr 2006, Austin Ziegler wrote: > >> On 4/3/06, Hal Fulton wrote: >> >>> This might be too easy, it's JEG2's call. >>> >>> Read in an ordinary crontab file and print out a list of >>> jobs that will run in the next N minutes. >> >> >> Fairly easy, but with some interesting edge cases (t + N crossing an >> hour, day, month, or year boundary; dealing with leap years; dealing >> with summer time/winter time switches). > > > not to mention cron supports variables, ranges, wildcards, and lists! Yes, it's ranges, wildcards, and lists that make it interesting to me, not the edge cases. As for variables, I'm not sure what you mean. One reason I mention this idea is that I have had a practical need for it on several occasions and have never got around to writing such a tool. Hal