Cron计划在每年的每个星期四和星期五运行 [英] Cron schedule for running on every thursday and friday of april every year

查看:1798
本文介绍了Cron计划在每年的每个星期四和星期五运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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.

推荐答案

我通常使用类似 http://www.cronmaker.com/ [ ^ ]如果我遇到cron表达式
I usualy use something like this http://www.cronmaker.com/[^] if I get stuck with a cron expression


这篇关于Cron计划在每年的每个星期四和星期五运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆