Open GoogleCodeExporter opened 8 years ago
ok, my bad.
I had started service twice.
Original comment by netK...@gmail.com
on 25 Oct 2011 at 8:09
I am not sure if your last comment is meant to dismiss this issue report
entirely, or if it only relates to the observation about breakpoints. Do you
still experience problems with NCron?
Original comment by j...@malamute.dk
on 26 Oct 2011 at 7:47
I experience the same thing but this time. What is the best way to start the
schedulingservice?
....
protected override void OnLoad(EventArgs e)
{
myService = new SchedulingService();
...
}
void doStart()
{
if(myService != null)
{
myService.Start();<==== it throws an error in here
}
}
Follow-up question, Is there a way to count the scheduled Services?
Please help, sorry for my english.
Original comment by w2ca...@gmail.com
on 8 Dec 2011 at 9:14
are you using scheduler from a console application ? or from other project type
?
Original comment by netK...@gmail.com
on 8 Dec 2011 at 9:25
I am afraid that there is currently no way to ask the scheduling service how
many jobs it has in its queue. The easiest workaround is probably to count the
jobs manually as you add them to the service.
Also, OnLoad(EventArgs) seems to suggest that you are using NCron in a Windows
or web forms project. Please be aware, that NCron was built to run as a Windows
service, and I have no idea if it will work well in other deployments. I am not
saying that it will not work - I simply do not know.
Original comment by j...@malamute.dk
on 8 Dec 2011 at 9:30
yes i'm doing this for my windows form project.
Original comment by w2ca...@gmail.com
on 8 Dec 2011 at 9:45
Original issue reported on code.google.com by
netK...@gmail.com
on 25 Oct 2011 at 7:59Attachments: