Confluence backup schedule - specific day of the week

In Confluence 4.0 is there a way to schedule the confluence backup to run on a specific day of the week, say every Saturday at 2am? I can't seem to find a cron expression to let me do that.

3 answers

1 accepted

1 vote
Accepted answer
Sorry, try: 0 0 2 ? * 6 * Which should be: 0 seconds 0 minutes 2 hours ? Ignore day of month * any month 6 Saturday * any year Full documentation and more examples on cron expressions can be found at http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger if that helps.

Thanks Andrew! That works, I only had to change the 6 to 7 because if I used 6 it was saying that was a Friday and not a Saturday. I'm assuming that's because the cron expression has Sunday as the 1st day of the week.

Hi Ray,

This expression should work for every Saturday at 2am:

0 0 2 * * 6 ?

Hope that helps,

Andrew.

Thanks for the expression but when I do that I get the following validation error:

"

- '?' can only be specfied for Day-of-Month or Day-of-Week."

Same error for me

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,118 views 17 14
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