testコマンドとcronを組み合わせ、月末にバッチを動かす - Qiita

0 0 * * * /usr/bin/test $( date -d '+1 day' +\%d ) -eq 1 && /home/hoge/cron/foo.sh↑で、毎月月末日の零時にfoo…