How to Enable or Disable Scheduled Tasks in DotNetNuke

DNN > How To

 

 
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.
  1. Log in to your site as a host user.
  2. Navigate to Host > Host Settings > Other Settings.
  3. Locate the Scheduler Mode drop-down list.
  4. 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.
  5. 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.

  1. Log in to your site as a host user.
  2. Navigate to Host > Schedule.
  3. Click the Edit button next to the task you want to disable or enable.
  4. Check or uncheck the Schedule Enabled box.
  5. Click Update.

 

Add Feedback