If you want to use Quartz for this you can create a simple job that
reads from job data map the name of procedure to run (I'm assuming
your procedures don't take differing parameters) and then just use
plain ADO.NET to call it.
But there's always the SQL Server Agent that you can use to schedule
jobs to run, it supports transact SQL and thus you can call your
procedure straight from the script. This might also be an option to
consider.
-Marko
If you want persisted and modifiable schedules you should look at
AdoJobStore, there's an example of that part of the distribution. If
you have fixed set of jobs it should be mostly maintenance of triggers
then. If you want scheduler run without the front-end you should
probably use windows service for that.
-Marko
There are too many things that can be a bit off. You need to check
your configuration and maybe set Quartz logging to debug level to
gather more information about what is happening.
-Marko
Tel +44 020 7868 1688
Fax +44 020 7868 1788
mob +44 (0)7946 544 861
email joe...@edenbrook.co.uk <mailto:joe...@edenbrook.co.uk>
Registered in England and Wales
Company Number 4136328
DISCLAIMER
This message has been sent via the Internet. Internet communications are not secure against interception or modification. Edenbrook Ltd therefore cannot guarantee that this message has not been modified in transit. This message and any files transmitted with it are confidential and intended solely for the use of the addressee. If you have received this message in error please notify the sender and destroy your copies of the message and any attached files.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Here's example how to delegate logging to log4net:
http://fisheye3.atlassian.com/browse/quartznet/trunk/server/Quartz.Server.Service/App.config?r=218
. After that it's just log4net configuration magic.
-Marko
Tel +44 020 7868 1688
Fax +44 020 7868 1788
mob +44 (0)7946 544 861
email joe...@edenbrook.co.uk <mailto:joe...@edenbrook.co.uk>
Registered in England and Wales
Company Number 4136328
DISCLAIMER
This message has been sent via the Internet. Internet communications are not secure against interception or modification. Edenbrook Ltd therefore cannot guarantee that this message has not been modified in transit. This message and any files transmitted with it are confidential and intended solely for the use of the addressee. If you have received this message in error please notify the sender and destroy your copies of the message and any attached files.
________________________________
I think you need just basic ADO.NET procedure calling code, there's a
sample here: http://www.codeproject.com/KB/cs/simplecodeasp.aspx . So
in your job's Execute method just run the needed procedure calling
code.
Hope this helps,
-Marko