Modulo schedules with weekdays

9 views
Skip to first unread message

Spadajspadaj

unread,
Mar 31, 2020, 4:27:30 AM3/31/20
to bareos-users
Hi.

Just to make sure that I understand my config good, because the manual
is a bit unclear on this.

What I wanted was to make a schedule that was run every other week on a
given day of the week (i.e. every second saturday, or every third thursday).

The examples of the modulo scheduler use just day numbers or week
numbers so it's not clear how to achieve what I wanted. But I tried

Schedule {
  Name = "BiCycle"
  Run = Full w01/w02 sat at 21:00
  Run = Differential w02/w02 sat at 21:00
  Run = Incremental mon-fri at 21:00
}

And after reloading the config got

*show schedule=BiCycle
Schedule {
  Name = "BiCycle"
  run = Full Sat
w00,w02,w04,w06,w08,w10,w12,w14,w16,w18,w20,w22,w24,w26,w28,w30,w32,w34,w36,w38,w40,w42,w44,w46,w48,w50,w52
at 21:00
  run = Differential Sat
w01,w03,w05,w07,w09,w11,w13,w15,w17,w19,w21,w23,w25,w27,w29,w31,w33,w35,w37,w39,w41,w43,w45,w47,w49,w51,w53
at 21:00
  run = Incremental Mon-Fri at 21:00
}

So I assume that's pretty much what I wanted to do, right? It could use
some more straightforward description in the manual though. :-)


Best regards,

MK

Reply all
Reply to author
Forward
0 new messages