Wednesday, September 01, 2021

Run a command on "last day of month"

Hello,

I would like to run a command on "the last day of each month".

From what I understood reading the crontab(5) manpage, the simplest way
would be setting day-of-month to "28-31". But this would mean running
the command 4 times for months that have 31 days.

Is there a simpler/better way to configure crontab(1) to run a command
on "the last day of month" only ?

Thank you,
Joel C.

No comments:

Post a Comment