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.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  need some help creating a scheduled task
Previous Previous
 
Next Next
New Post 4/22/2006 9:56 AM
User is offline Jonathan Johnson
64 posts
10th Ranked




need some help creating a scheduled task 

I've read the Schedule PDF documentation.

My class project's default namespace is DotNetNuke.Services.Scheduling, class and assembly name is "SBInterface"

I've created a class file, compiled it, and added it to the \bin folder. I set the maxthreads to "-1" (the books and doc says the default is -1, however, my web.config had "1" - ?) and debug to true.

I set the Full Class Name & Assembly to: "DotNetNuke.SBInterface,SBInterface"

I enababled and set the schedule to 2 minutes. When I refresh the schedule page, the "Next Start" keeps incrementing to the current time... Also, there are a bunch of  EVENT ADDED TO PROCESS GROUP 0 entries in the site log, but no other log entries.

Any ideas?  Thanks!

 
New Post 10/4/2007 12:51 PM
User is offline jozburn
3 posts
10th Ranked


Re: need some help creating a scheduled task 

I realize this posting goes back a little ways, but did you ever resolve the issue?  The same thing is happening to me.

Thanks!

 
New Post 10/4/2007 1:00 PM
User is offline Rezone Solutions
6 posts
www.rezonesolutions.com
10th Ranked


Re: need some help creating a scheduled task 

Any luck with this?


Get your customizable portal quick and easy at Rezonesolutions.com
 
New Post 10/4/2007 8:11 PM
User is offline Jonathan Johnson
64 posts
10th Ranked




Re: need some help creating a scheduled task 

Yes I did.  Make sure your class inherits from SchedulerClient, then complete the DoWork method: 

Public Class MyScheduledItem

 

 

Inherits DotNetNuke.Services.Scheduling.SchedulerClientPublic

Sub New(ByVal objScheduleHistoryItem As DotNetNuke.Services.Scheduling.ScheduleHistoryItem)MyBase.New()Me.ScheduleHistoryItem = objScheduleHistoryItemEnd Sub

 

 

End Sub

Public Overrides Sub DoWork() ... 

 

 

 

 
New Post 10/4/2007 8:12 PM
User is offline Jonathan Johnson
64 posts
10th Ranked




Re: need some help creating a scheduled task 

Also, I think my issue was VS.Net includes a NameSpace, which I was not referencing correctly (I removed it from the project properties).

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  need some help creating a scheduled task
 


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.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

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