How to Enable or Disable Scheduled Tasks in DotNetNuke
If you would like to enable or disable all tasks on your DotNetNuke site please follow the steps below to change the scheduler mode.
- Log in to your site as a host user.
- Navigate to Host > Host Settings > Other Settings.
- Locate the Scheduler Mode drop-down list.
- Three options are available; choose the option that best suits your needs.
- Disabled: Scheduled tasks will never execute. Choose this to entirely disable the scheduler.
- Timer Method: Scheduled tasks will be executed as soon as they are due, in their own thread of execution. Scheduled tasks will be executed regardless of whether or not pages are being requested on the site.
- Request Method: Scheduled tasks will be executed at the beginning of the next page request following the time at which they are due. Scheduled tasks will thus only be executed if pages are being requested from the site. A page load that triggers a scheduled task must wait for the task to complete before the request can complete.
- Click Update.
For speed's sake, we usually recommend the Timer method. Because we use a KeepAlive service, the ASP.NET application is always in memory. Since the application pool is always running, the scheduled tasks are triggered on time.
If you would like to disable or enable individual scheduled tasks please follow the steps below.
- Log in to your site as a host user.
- Navigate to Host > Schedule.
- Click the Edit button next to the task you want to disable or enable.
- Check or uncheck the Schedule Enabled box.
- Click Update.
Article ID: 510, Created: April 10, 2012 at 7:37 AM, Modified: August 25, 2014 at 2:25 PM