Hi Guys,
I am trying to use cronplus to send a "reset" command on the last day of every month at 23h59.30 ,,, I just cant seem to get the syntax right for the day of month considering it could be 28/29/30 or 31...
Any help would be appreciated!
Regds
Ed
Colin
28 August 2023 12:55
2
Would 30 second later, at 00:00 on the first day of the month do instead?
Otherwise, I googled for
cron last day of month
and the first hit was automation - CRON job to run on the last day of the month - Stack Overflow which might be useful, though it does it allways on 28th Feb even if it is a leap year.
There may be other hits on that search which help.
Docs state that the "L" can be used for last
30 59 23 L * *
Never used so can't tell if it works.
2 Likes
Colin
28 August 2023 13:17
5
Once again I learn something new. Excellent.
2 Likes
system
Closed
11 September 2023 13:17
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.