Re:Show HN: Crondom
by omh on Thursday December 16, 2010 @09:52AM
(#2012185)
Well, you could put multiple cron lines in.
e.g. for every 8 minutes:
This starts to get a bit silly when the interval isn't a factor of 24 though.
[ Parent
| on HN ]
Re:Show HN: Crondom
by mathgladiator on Thursday December 16, 2010 @10:26AM
(#2012297)
I wrote a simple script to generate cron tab specs for "every X minute", and while I enjoyed using gcd and lcm in a real application; something wasn't right. 7 is a very canonical and crazy case because it takes 7 days to cycle. but even then, it doesn't work with months except for February for non leap years.