Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Schedulers not working when Worker process Area not AliveDNN Schedulers not working when Worker process Area not Alive
New Post
8/18/2014 6:22 AM

I have created some DNN schedulers to run at 24 hours time intervals. But the schedulers are not running in Dnn during the time when the IIS recycles App-pool and before the next request will come to the application. 

Is there any solution to run my DNN schedulers irrespective of IIS Worker process area Alive or not ?

New Post
8/18/2014 7:15 AM
DNN scheduler is running only. when the containing web application is running, if you need actions to be taken at a specific time or interval, you may either make sure, the app pool is running all the time (don't suspend upon idle, use a keep alive service) or use windows scheduler instead.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
8/18/2014 10:57 PM

For the dnn scheduler to trigger - the application pool must be alive.  I would suggest running a keep alive application or using a site test service to ensure that the application pool is active.


New Post
1/7/2015 3:49 AM

I have a DNN Scheduler in my application which needs to run on every 2 minutes. I noticed that my Scheduler is not running specified time interval (i.e. about 15 mts) in every one hour. My Site application pool alive forever since we are using host-tracker service .

I have noticed one thing today. One of my other DNN scheduler is taking about 15-20 minutes of time to run. I thought, in the mean time no other DNN scheduler will allow to run. 

I wanted to clarify whether this is the reason for my Scheduler(i.e. Time Lapse: 2 mts) is not running in the mean time where another scheduler is running for about 15-20 minutes.

Is there any restriction for DNN schedulers that one can start after finished running of another ?

If yes, how can we overcome it and run two schedulers simultaneously.

New Post
1/7/2015 4:02 AM
The scheduler is a queue - by default it only ever allows one schedule task to run at a time - as such yes what you are seeing is by design.
While it is theoretically possible to increase the number of scheduler threads in your web.config - doing so has a lot of potential to cause issues with other core scheduler tasks.
I would personally be somewhat concerned about any scheduler task that is running for more than a minute or so.
Maybe you need to look at better ways to design your scheduled tasks so that they are less intensive.
Alternatively - If you are running some sort of time critical background task or system monitor - you may be better off starting up your own stand alone workerprocess and pass the job off to it - instead of relying on the scheduler workerthread - dnn also needs access to the scheduler for its own springclearing and things like indexing - if you have a process hogging the scheduler thread the whole system may suffer over time.

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Schedulers not working when Worker process Area not AliveDNN Schedulers not working when Worker process Area not Alive

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?