StdSchedulerFactory- Run every specific days

Dani_S 4,501 Reputation points
2022-05-10T06:46:34.287+00:00

Hi,
I want to set StdSchedulerFactory to run every Monday and Friday for example ?
How is can be done ?
Thanks.

Developer technologies .NET .NET Runtime
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-05-10T15:24:50.15+00:00

    Use the cron trigger

    https://www.quartz-scheduler.net/documentation/quartz-3.x/tutorial/crontriggers.html#example-cron-expressions

    though if this relates to your service question, on linux and MacOs, you typically use cron to run scheduled jobs rather than a daemon with its own scheduler.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.