Hey everyone... I'm working on Nop 2.30. I just want to know about schedule task. How does all schedule task work? What exactly application does while schedule task invoke? Can you guys explain me whole flow for schedule task?
When the application is started, the TaskManager loads all of the scheduled tasks and creates a thread for each. It then starts each task's timer. When the timer runs out, the task executes. Once the task is completed, it restarts the timer and waits to run again.
I have queued emails sitting for 1-2 hours before they send. The attempts are 0 and no errors. I am assuming there may be a problem with the amount of time set for tasks. Is there any way to check?
I know this thread is super-old, but in case anyone else stumbles across this, I've just written a free plugin that might help with situations like this: https://www.nopcommerce.com/en/enhanced-schedule-task-monitoring
It gives you a history of when tasks have run, and if there were any errors. Hopefully it might help someone!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.