You need to put the script as the value: RunBeforeJob="/path/to/my/script"
On Friday, 6 March 2020 16:52:26 UTC+1, Goncalo Sousa wrote: > > So as far as I know I add the option: RunAfterJob=yes and RunBeforeJob=yes > in bareos-dir.d/job but how do I call the script? > > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/e4375541-f25e-4feb-91ae-6e2c66184e0f%40googlegroups.com.