cron for a biweekly subscription

Hi,

Do you have an example of the cron for a biweekly subscription
that I can paste into the advance subscription section?

That is, I'd like the filter to run at 7am on a Monday biweekly.

Thank you,

3 answers

1 accepted

Accepted Answer
0 votes

I know I could subscribe to the filter twice using the First Monday of the Month and Second Monday of the Month option, but this is not exactly what I'm after.

This was the easiest and only solution that worked for me. I end up with many subscriptions depending on the week, but it works.

Cron doesn't support biweekly runs on most systems, so

0 7 * * 1/2

will probably fail, but you could schedule the first and third monday of the month by

0 7 1-7,15-21 * 1

Hope this helps,

Thomas

Thanks for the reply, but neither are accepted by the ui 'Unexpected end of expression' error.

I'll double check to make sure I'm not doing something really thick and get back to ye ;o)

Have you tried:

0 7 1,2,3,4,5,6,7,15,16,17,18,19,20,21 * 1

I will get an 'unexpected end of expression'

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,429 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you