Re: [Bacula-users] redirect command output

2024-12-28 Thread Mailing_List via Bacula-users
Le vendredi 27 décembre 2024 à 20:59 +0100, Josip Deanovic via Bacula- users a écrit : > Could you try something like this: > > Command = "/usr/bin/bash -c '/usr/local/perso/suspend-gest.sh add > bacula > / > dev/null'" Works ! 28-déc. 10:14 coffee-dir JobId 18512: shell command: run BeforeJob

[Bacula-users] redirect command output

2024-12-27 Thread Mailing_List via Bacula-users
Hi, In a bacula job, I have: RunScript { RunsWhen = Before FailJobOnError = No RunsOnClient = No Command = "/usr/local/perso/suspend-gest.sh add bacula > /dev/null" } but despite the > /dev/null I still get the output in the log: Dec 27 08:40 coffee-dir JobId 18506: shell com