> Or are they executed in the order in which they are written in the
configuration, with the second waiting for the first to complete and so on?
it's seem so
RunScript {
RunsWhen = Before
FailJobOnError = No
Command = "/etc/bacula/script_1.sh"
Command = "/etc/bacula/script_3.sh"
Command = "/etc/bacula/script_2.sh"
}
# cat /etc/bacula/script_1.sh
#!/bin/bash
echo "command 1, $(date)" >> /tmp/1.log
sleep 60
# cat /etc/bacula/script_2.sh
#!/bin/bash
echo "command 2, $(date)" >> /tmp/1.log
sleep 120
# cat /etc/bacula/script_3.sh
#!/bin/bash
echo "command 3, $(date)" >> /tmp/1.log
sleep 240
# cat /tmp/1.log
command 1, Mon May 11 12:08:49 UTC 2015
command 3, Mon May 11 12:09:49 UTC 2015
command 2, Mon May 11 12:13:49 UTC 2015