The Schedule tasks window enables the store owner to schedule a task to run during certain periods in the background and to view useful information regarding the task and whether it was completed successfully. For example, nopCommerce sends queued emails periodically. The tasks run on a separate thread coming from the ASP.NET thread pool.
To view the scheduled tasks, from the System menu, select Schedule tasks. The Schedule tasks window is displayed, as follows:
To edit a scheduled task, click the Edit button beside the task. The window is expanded, as follows:
You can edit the scheduled task the following way:
- Edit the Name.
- Edit the number of Seconds (run period). Task period should not exceed 24 days.
- Tick the Enabled checkbox in order to enable the task.
- Tick the Stop on error checkbox in order to stop the task when an error occurs.
Click Update to save your changes.
Do not forget to restart the application once a task has been modified.
If required, you can click Run now, to run a scheduled task on-demand.