Jos Chrispijn wrote:
> I would like to execute a script on every last day of the month in my
> crontab.
> Can someone tell me how I should solve that as it doesn't know which
> month day is the last day of the month?
> Solving this in the script to be executed is no option.

I've done this before. My script was in Perl.

Essentially, the script ran once every day. At the top of the script, it
did a DateTime check to see if tomorrow was the 1st of the month.

If it was, the script proceeded, else it exited.

Steve

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to