Re: redirect command output

Mailing_List via Bacula-users <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
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
"bash -c '/usr/local/perso/suspend-gest.sh add bacula > /dev/null'"
28-déc. 10:14 coffee-dir JobId 18512: Start Backup JobId 18512,
Job=BackupCoffee.2024-12-28_10.14.35_03

Thank you !



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.