I've created Job and Trigger in the code.
// Define the Job to be scheduled
var job = JobBuilder.Create<IntegrationJob>()
.WithIdentity("IntegrationJob", "IT")
.RequestRecovery()
.Build();
// Associate a trigger with the Job
var trigger = (ICronTrigger)TriggerBuilder.Create()
.WithIdentity("IntegrationJob", "IT")
.WithCronSchedule(quartzConfigSection["intervals"]) // visit http://www.cronmaker.com/ Queues the job every minute
.StartAt(DateTime.UtcNow)
.WithPriority(1)
.Build();When I run it from Visual Studio it's running all good, but how do I make it run from a Windows Service??
I've created Windows Service as described in that page - http://geekswithblogs.net/TarunArora/archive/2012/11/16/install-quartz.net-as-a-windows-service-and-test-installation.aspx
I've copied all the Quartz files, I ran the Quartz.Server.exe install command and the service was created.
Now I have this whole bunch of files in my bin\Debug folder in VS.
How to make that Windows Service pick up my SCRIMIntegration.dll and run it?? Do I need to specify it somehow in Quartz.Server.exe.config file?? Please help.
Regards.
--
You received this message because you are subscribed to the Google Groups "Quartz.NET" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quartznet+...@googlegroups.com.
To post to this group, send email to quar...@googlegroups.com.
Visit this group at http://groups.google.com/group/quartznet.
For more options, visit https://groups.google.com/d/optout.