Linux · 2016-02-25

crontab每月的最后一天

每个月最后一天的23点30分执行

30 23 28-31 * * [[ "$(date --date=tomorrow +\%d)" == "01" ]] && $COMMAND