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.0Scheduling starts item more often than configured, bug?Scheduling starts item more often than configured, bug?
Previous
 
Next
New Post
10/2/2007 12:08 PM
 

I have my portals on a shared hosting environment. The timer method depends on the application to be "alive" to function correctly, if the application is trashed due to saturation on the AppPool or due to inactivity, the timer method works oddly. If you use the request method, you depend on the visitors to trigger the event nevertheless in my case it was no problem because the portal had a lot of traffic.

On my previous post I mentioned that I checked for the last email sent date, this is because the scheduler process is not accurate in time, I mean if you set a scheduler item to run every "1 day" you cannot be sure of the exact time the process will run. Therefore I had to check every hour if the mails needed to be sent or not.

Greetings

 
New Post
10/3/2007 3:37 AM
 
Yes, I'm agree.

I confirm that, for me, the timer method as the request method exectue my schedule twice. I have a One day period, and my historic mentions, all the days, two schedules which run one after the other.

very strange...

PS : my catch up is not activate.
 
New Post
10/3/2007 9:01 PM
 

FYI -- check out this blog posting... (I have not used this method): http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1096/Default.aspx

 
New Post
10/4/2007 3:29 AM
 

Thanks every one for the replies.

Many of you work with the scheduler in request Method and suggest this as a solution. Although my problem is not that a schedule item is not being run, the problem is that it is being run twice when on the Timer Method.

I have changed my host settings and this morning only one email has been sent.  It looks like the problem is definitely the scheduler mode "Timer Method".   I will monitor this situation for the next few days and posts results later.

 
New Post
10/10/2007 4:11 AM
 
I had that in my DoWork() :

Me.ScheduleHistoryItem.Succeeded = True
Me.ScheduleHistoryItem.AddLogNote("E-mail sent successfully")

I resolved the problem by adding that :

Me.ScheduleHistoryItem.NextStart = DateTime.Now.AddDays(1)

My DoWork funtion is executed once only with this line, before twice.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Scheduling starts item more often than configured, bug?Scheduling starts item more often than configured, 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