c# - Windows Service - Best practice for task scheduler -
i'm looking bit of advice here in terms of best way this. i've never created service application before , i've taken shot @ creating 1 feel if process improved.
one key task, yet there couple of tasks run service pulls orders , find should of been delivered haven't been marked delivered. service sends email appropriate account manager. task run timer object ticks every 15 seconds.
now upgrade plan change each task has it's own schedule , once it's run services final task calculate next run time , record it, reason being of these tasks don't need run every 15 seconds (the delayed delivery task example needs run daily), yet of them do.
the issue thing can think of have timer tick every second looks @ schedules , if 1 due, run it. if not nothing. tidy way of approaching task or can think of better way this?
Comments
Post a Comment