To follow up on this a bit -- if you include the date in your code as well as in the execution control, you now have to update your code if it is necessary to run this off schedule, if the schedule changes, if an execution failed, etc.
Split your concerns. Have the app do what it does well, and have cron control when it runs.
--MidLifeXis
In reply to Re^2: Timed Events
by MidLifeXis
in thread Timed Events
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |