Am 06.04.2010 11:15, schrieb frantisek holop:
hi there,

what happens if i specify a cronjob like this?

23 59 31 * * $HOME/bin/whatever

does cron handle months that dont have 31 days?
i am looking for an alternative @monthly, not

0 0 1 * *

but the last minutes of the last day of the month.

Write a wrapper script which will only run if invoked on the last day of month and then use somehting like
23 59 28-31 * * run_on_last_day_of_month.sh $HOME/bin/whatever

Kind regards,
  Markus Hennecke

Reply via email to