Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
VB
I am using quartz cron expressions in C# for scheduling jobs and i am unable to find an expression that would execute the job every thursday and friday of april every year. I used this expression but it executes on thursdays only. I want it on thrusdays and fridays:

0 19 15 ? 4 5#1 *

Please advice.
Posted

1 solution

I usualy use something like this http://www.cronmaker.com/[^] if I get stuck with a cron expression
 
Share this answer
 
Comments
mayooran99 12-Mar-15 22:44pm    
It doesn't give the answer. Thats where i got stuck
Garth J Lancaster 13-Mar-15 0:17am    
well 5#1 appears incorrect - why not THU,FRI
and your time reads to me as 19 minutes past 3 (AM) - do you men a quarter past 7 (PM), ie

0 15 19 ? APR THU,FRI *

(don't forget you can use 3 digit day and month names in quartz)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900