Re: Scheduling Jobs - Last day of the month - HOWTO?



Michael B. Johnson <mjohnson@xxxxxxxxxxx> wrote:

When I looked through the man pages for Cron, there did not appear to be any
obvious mechanism for specifying the *last day* of the month.

if [ $(date --date=tomorrow +%m) != $(date +%m) ]; then
echo last day of the month
fi






Florian
--
<http://www.florian-diesch.de/>
.



Relevant Pages