guys,
please suggest me best algo for the below situation:
I have some taks which are to be scheduled by users anytime, the tasks may have recurring options(periodically/weekly/monthly...).I have to run these tasks at the scheduled time.
- Run only once after a specified start date
- Run periodically for every 1 hour after a specified date
- Run every week monday and tuesday for every i hr after a specified date
- Run monthly at a particular date after a specified date.
Its better if you give the code snippet ...