Hi guys,
I had the same problem and luckily found the solution for this.
The thing is.. you have to compile your scheduler class into a dll, otherwise the scheduler doesn't find your class and it is unable to execute any code.
I have compiled it with vbc in the visual studio command prompt (start -> programs -> visual studio 2005 -> visual studio tools -> command prompt)
with the following procedure:
- first copy your YourSchedulerClass.vb and DotNetNuke.dll into any temp dir
-in the vs command prompt do: vbc /t:library /r:system.dll /r:system.web.dll /r:system.drawing.dll /r:DotNetNuke.dll YourSchedulerClass.vb
then a YourSchedulerClass.dll file will be created on your temp dir, and now you must copy this dll into your bin directory of your dotnetnuke installation.
In the scheduler class, configure the class name and assembly with your class name (full name with namespace and dll ) i e:
MyNamespace.MyModules.Module1.SchedulerClass, YourSchedulerClass
(where YourSchedulerClass is the file name without extension for your dll created before).
that should be all.
Hope this be useful for everyone.
PS: I´m getting better results with the host setting "scheduler mode" set to "timer method" (i think it´s due to it's separate threads