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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


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.

 


Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca
Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com

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