Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Starting the Scheduler at a specific time (approximately)
Previous Previous
 
Next Next
New Post 6/17/2008 12:23 AM
Resolved
User is offline Olivier Jooris
18 posts
www.bitconsultancy.be
10th Ranked




Starting the Scheduler at a specific time (approximately) 

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 2:26 AM
Accepted Answer 
User is offline Olivier Jooris
18 posts
www.bitconsultancy.be
10th Ranked




Re: Starting the Scheduler at a specific time (approximately) 
Modified By Olivier Jooris  on 6/24/2008 5:29:13 AM)

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Starting the Scheduler at a specific time (approximately)
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP