[SWLUG] Carmarthen meeting reminder - TONIGHT

Geraint Edwards gedge-lists at yadn.org
Tue Jan 15 16:08:49 UTC 2008


Ysgrifennodd Daniel Morris <danielm at iee.org> said
		(on Tue, Jan 15, 2008 at 11:48:31AM +0000):
> but cron is a bit more tricky...

If you're lacking some cron/shell-fu - would this help?


# every day in 3rd week of the month, check if today is a Tues(2)
0 0 15-21 * *	[ `date '+%w'` -eq 2 ] && send-reminder.sh CAMARTHEN

# every day in 1st week of the month, check if today is a Weds(3)
0 0 1-7   * *	[ `date '+%w'` -eq 3 ] && send-reminder.sh CARDIFF




Eek!  The website "Future meetings" currently has no mention of tonight,
that's not cron's fault, is it?  Someone with PHP to the rescue?

-- 
Geraint A. Edwards (aka "Gedge")
gedge at yadn.org



More information about the Swlug mailing list