On Tue, Apr 06, 2010 at 12:09:01PM +0200, frantisek holop wrote: > hmm, on Tue, Apr 06, 2010 at 11:26:28AM +0200, Jan Stary said that > > On Apr 06 11:15:26, frantisek holop wrote: > > > hi there, > > > > > > what happens if i specify a cronjob like this? > > > > > > 23 59 31 * * $HOME/bin/whatever > > > > Cron will just do what it's told: run whatever at "31.*. 23:59" > > so i could basically do 12 lines with the correct > last day of the month rules :] > > > > i am looking for an alternative @monthly, not > > > > > > 0 0 1 * * > > > > > > but the last minutes of the last day of the month. > > > > Why? > > because for me the month ends at 23:59:59 on the last day > of month n, and not at 00:00:00 on the first day of month n+1... > > -f > -- > if you have to travel on a titanic, why not go first class?
You have too much believe in the granularity of cron. -Otto