Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Starting the Scheduler at a specific time (approximately)Starting the Scheduler at a specific time (approximately)
Previous
 
Next
New Post
6/17/2008 2:23 AM
 

Hi All,

The DNN Scheduler is not as well know as the other modules, maybe because it is not that easy to use?

Is it not possible to configure it in a way that you can enter the hour that a job must start?  (I rahther run heavy jobs when there are less users working)

I know, due to the way IIS works, that you can not rely on the exact time a job was run and that you need a request before the site (and its jobs) wakes up and realy does something.  
BUT: i think it must be possible to say you want a job running at 11h at night.   Of course this will not happen until someone does a request to the site, and even if someone was, the chance that it is at excactely 11h will be very small.  

To Solve the 'i need a request' issue  you can use tools like smartping ( http://help.smartertools.com/SmarterPing/v1/Default.asp ), which periodacely pings the sites you want. (you need a server to run this on which is online 24/24) , So if you let this ping every 10 minutes, and you can configure the job to run at 11h than it will start 11.10h at the latest. 

This is a very acceptable solution for most schedule applications.

So here's the real question: Is the core-team considering this enhancement?  Or is is this already possible in some way (using the standard framework) 
(I'll be glad to help on this topic)

 

 
New Post
6/24/2008 4:26 AM
Accepted Answer 

Yesterday i attended the SDN Event in Holland, and got the solution from Leigh Pointer:

in host settings -> Scheduler Mode:  Timer Mode --> this starts a timer in a new thread and does not need a request (so this task, once started) runs independetly from your website.

If you dont want to do this and leave te scheduler mode at request, you kan keep open an internet explorer window, and surf to the page keepalive.aspx (this refreshes regularely, you only have to keep it open)
This keeps your site alive, and make sure that the scheduled task will be run.

The actual task:

  • You schedule the task every minute
  • In your scheduled task, you can write a test on a specific time, solving my issue. (if its 11h start task, else nothing) (you could even put this time in the schedule settings) ("maintain scheduler" settings is a module you have to make yourself)
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Starting the Scheduler at a specific time (approximately)Starting the Scheduler at a specific time (approximately)


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out