Set an “on demand” only job in HangFire

前端 未结 4 957
粉色の甜心
粉色の甜心 2021-02-13 17:18

In Hangfire, I have successfully set recurring jobs and am able to trigger manually if I want to, thanks to the Web UI and its \"trigger\" button.

RecurringJob.A         


        
4条回答
  •  轮回少年
    2021-02-13 17:48

    I use this CRON expression as Never: 0 0 29 2/12000 WED At midnight, on a 29th of Feb that happens to be a Wednesday, every century.

    As @youen found out, this expression yields a later date. "0 0 29 2/12000 MON"

提交回复
热议问题