Run a cronjob on the last day of the month

Here is a pretty genius way of running a cron job on the last day of the month. It just checks that tomorrow is the first of the month, and runs your script if it is.

0 8 28-31 * * [ "$(/bin/date +%d -d tomorrow)" = "01" ] && /your/script.sh


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 13.59.198.150
To prevent spam please submit by clicking the kitten: