Run the Scheduler on business days rather than calendar days

Issue #124 resolved
Garret Jones created an issue

I need to schedule tasks on a particular business day after month end, can the scheduler support that?

Comments (4)

  1. Ziniewicz Maciej

    Hi Garret!

    Unfortunately, TSP don't support tasks on buisnes day, you can set SI to fire on particular day in month e.g every second monday of month. But it will fire task always even if it not a business day. You can set it by using 'Days per Month' option.

    Regards, Ziniewicz Maciej

  2. Maciej Kucharek

    Hi @gjones777 ,

    I know I'm a little bit late for the party here, but I think that we do support your use case, although it's not that trivial. Since JIRA is using Quartz scheduler to define the triggers, you can use any of the Quartz cron expressions to define the schedule you want.

    For instance, of you want to run a scheduled issue at 12PM on the first weekday of each month, you would need to put "0 0 12 1W * ?" as a trigger using the "Advanced" radio button (please see the screenshot attached).

    Screenshot 2016-06-19 13.16.21.png

    You can then click "Add Trigger" button, which would create the following trigger: Screenshot 2016-06-19 13.16.28.png

    I hope this is going to help you. You can read more about Quartz CRON triggers in the documentation, but in case you don't feel comfortable defining the CRON expression yourself (which can be challenging, unfortunately), just let me know your exact use case and I'll try to help you.

    All the best, Maciej from Transition Technologies team

  3. Log in to comment