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 ...DNN Scheduler IssuesDNN Scheduler Issues
Previous
 
Next
New Post
1/19/2007 10:38 AM
 
I wasn't sure where to post this, none of the subforums really cover the scheduler. I have compiled my class, which was written according to the specifications in DotNetNuke Scheduler.doc in the documentation folder. Everything is there, it inherits from DotNetNuke.Services.Scheduling.SchedulerClient. It's compiled as MyName.MyProject.Emailer.dll, Emailer.vb being the file with the code. I upload it to the /bin/ and make a new scheduled event, but it never runs. And everytime I refresh the scheduler screen, the "Next Start" time goes with the current time. Any ideas what I'm doing wrong? Does this class have to be compiled under the DotNetNuke assembly?
 
New Post
5/7/2007 7:19 PM
 

Same issue here.  I am working on it.  Did you ever get it fixed?  I used to know how to do this, but that was 3.x.  It should be the same.  Stay tuned.

 
New Post
5/7/2007 8:35 PM
 

The most common reason for this is that there is an error occurring when the scheduled event run is attempted. A good place to start troubleshooting would be to examine the log for errors.

Nik

 


Nik Kalyani
Co-founder
DotNetNuke Corporation
Blog | Twitter | FaceBook
 
New Post
5/8/2007 8:06 AM
 

I agree.  However some things should be stated first:

 

1.)  Without modifing the web.config and turning debug="true" in the scheduling.provider, the log doesn't provide much information.

2.)  Even after doing so, it still doesn't give much.

In reviewing the code in Processgroup.vb, which is where I think I am having issues, there is no logic to handle a failure when creating the instance of new event class.  If you look at the method "Run", there are several Try/Catch constructs, but none of them catch the actual failure if process=nothing????  In other words, the Catch routine only does anything if PROCESS=something.  Throwing an event out to the log if PRocess=nothing would be a real help, since I think it is having issues there.

I did forget to remove the default workspace from my scheduler client application, which is what I thought the cause might be.  However, this did not correct it.  I know my scheduler client is not even making into the NEW of the class because of debugging logic I have placed in there.  So, I am 95% sure I am not getting a type instanced  in the RUN routine.

I have tried to place code in there to correct this, but everytime I attempt to compile that module, all "heck" breaks loose and I cannot get it run again. 

I have asked for this process to become a little better since 3.x.  DNN 2.x at least went out and built a list of what was valid, so that you did not have to type in the class/assembly name.  I never really got a straight answer as to why that was removed, but it would be nice to have that back.  It would also be nice to have a failure event logged when the PROCESS object cannot be created.

 

 
New Post
5/10/2007 11:51 AM
 

Well, still nothing here.  Anyone???????

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Scheduler IssuesDNN Scheduler Issues


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