No such thing as a small change | |
PerlMonks |
Re: Finding the dates for the reminder mail systemby ikegami (Patriarch) |
on Nov 08, 2008 at 20:33 UTC ( [id://722431]=note: print w/replies, xml ) | Need Help?? |
Isn't this as simple as running the script every Wed and Fri (say as a cron job), and sending an email for every due date that's [0..14] (or [1..14]*) days away from today? For the last reminder,
* — If you don't want notifications on the due date.
Update: Untested code:
Update: Fixed typo in code resulting in the error mentioned in reply.
In Section
Seekers of Perl Wisdom
|
|