Reputation: 2324
I'm creating a mechanism in my web server whereby a scheduled task will execute every 15 minutes and notify users if any activity has occurred within that time frame. It would work as follows:
A couple problems I can see:
Has anyone dealt with this before? I'm thinking that this should really be a task external to the web servers... that would solve the issue of duplicate emails being sent, but it wouldn't solve the server bounce issue.
Any ideas on how to solve would be greatly appreciated!
Upvotes: 1
Views: 1958
Reputation: 2837
I would have done the following steps to perform the scheduling:
Because I will be retrieving those tasks only which are marked as dirty, the issue of multiple emails should not occur even on server startup.
Upvotes: 2