Cron - First Saturday of the month

David Canzi dmcanzi at watserv1.waterloo.edu
Thu Aug 16 10:22:29 AEST 1990


In article <3706 at aspect.UUCP> dave at aspect.UUCP (Dave Corcoran) writes:
>In article <1990Aug11.030818.28876 at watserv1.waterloo.edu>, dmcanzi at watserv1.waterloo.edu (David Canzi) writes:
>> if [ `date | awk '{print $3}'` -le 7 ]; then
>
>or:
>if [ `date +%d` -le 7 ]

This doesn't work on all the machines I have access to, so I prefer
the solution using awk.

-- 
David Canzi



More information about the Comp.unix.wizards mailing list