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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Scheduler - Bug?Scheduler - Bug?
Previous
 
Next
New Post
7/13/2011 9:24 AM
 
I'm having a confusing time w/ the scheduler.  One issue I logged here at gemini - basically - if catch up is NOT enabled - the Next start time is always 1/1/1753 12:00:00 AM -- I don't want catch up enabled because the scheduled procuess should only run once per day ... not 3 times if it's catching up (it's sending emails - and catching up will send duplicate emails)

NOW - I have an issue where the same schedule is set to run Every 1 day - and retry every 10 minutes.  If it runs today (7/13/2011) - and when it runs successfully - it reschedules for 2 days out (7/15/2011) 

I'm now running DNN 5.6.3 - and this scheduler MUST run DAILY.    It was running "fine" in DNN 5.2.3 (except for the "catch up" aspect) - anyone else w/ these issues? 


Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
7/16/2011 2:00 PM
 
i haven't heard of that, but I'd recommend checking with the 6.0 release when it comes out next week - we resolved a number of locking/race condition issues that manifested as odd bugs, and this release may resolve what you're seeing.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
12/12/2011 11:17 AM
 

I ran into the exact same issue with DNN 5.6.1.  I started my scheduled items out with Catch Up Enabled unchecked an ran into the issue where the Next Start was set at 1/1/1753.  Checking the "Catch Up Enabled" seemed to resolve this problem, but then I noticed that the next start was scheduled for twice the time that I had configured in the schedule.

Turns out, the problem was that I based my custom scheduled item on some code samples that indicated upon successful completion of a scheduled item, you should call Completed() on the SchedulerClient - for example, here is one such article:

http://www.byteblocks.com/post/2011/0...

This is INCORRECT - Completed() is called by the DNN framework and if you call it manually like it suggests in the article above, it will set the Next Start date AGAIN based on the schedule after the framework does it and you end up with double the time.

Honestly, I think the issue here is the scope of the Completed method - it should not be available for direct calling to descendants who inherit SchedulerClient.  Anyways, thought I'd share my findings - hope this helps!

 
New Post
2/10/2012 2:06 PM
 

Caleb, Thanks for pointing that out!  I must not have been subscribed to this thread because I didn't get notification in December - but I did just get notification to the issue in Gemini - great work!!



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Scheduler - Bug?Scheduler - Bug?


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