[Hudlug] HudLUG Record Attendance
Paul Brook
paul at codesourcery.com
Sat Jun 5 21:06:30 BST 2004
> Does anybody know a good date time library? I'm just trying to work out
> a clever way of working out when a week before the first Tuesday in the
> month is. I could setup an automatic mail the week before.
Run the following script as a daily cron job:
if [ `cal | sed -e '1,2d;/^ \{9\}/d;q' | cut -c 6-8` -eq `date '+%d'` ]; then
echo "HudLUG next week" | mail -s HudLUG me at wherever.com
fi
Paul
More information about the Hudlug
mailing list