I need to send out an email reminder via cron to a club I'm a member of. I need the reminder to go out on the Friday morning before the second Monday of every month. I'm a newbie to cron, and would appreciate it if someone would provide me with a crontab line to accomplish this task. Here's what I have so far:

30 11 * * * echo "Just a reminder that the KCARC meeting will be this Monday at 7pm, at the Abilene Public Library, 2nd floor. See you there!" | mail -s "Reminder: Club Meeting" [EMAIL PROTECTED]

which should send the email at 11:30AM every day. I just need to limit it to the Friday before the second Monday.

BONUS Question:

Can I automatically put the date of the second Monday of the week into my email message, so it would say something like "... will be this Monday, 11 August, at 7pm ...."?

Thanks!

--
Kent West ([EMAIL PROTECTED])




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to