Re: [Bacula-users] Running complex commands or scripts remotely on a client
2012-09-06 02:36:43
On Thu, Sep 06, 2012 at 06:10:16AM +0200, ganiuszka wrote:
>
> It works for me. Did you try to use semicolon character for separate
> elementary commands?
>
> Example:
>
> ClientRunBeforeJob = "/bin/bash -c 'echo aaa >/tmp/foo1.out; echo bbb >
> /tmp/foo2.out'"
>
> Regards.
> gani
For improved readability, why not put all the commands required to run
on the client into a shell script there?
All the best, Uwe
--
NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, (continued)
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Alex Lucas
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, ganiuszka
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Alex Lucas
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Christian Manal
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Gary R. Schmidt
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Fahrer, Julian
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Simone Caronni
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Alex Lucas
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Gary R. Schmidt
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Simone Caronni
- Re: [Bacula-users] Running complex commands or scripts remotely on a client,
Uwe Schuerkamp <=
Re: [Bacula-users] Running complex commands or scripts remotely on a client, Jérôme Blion
Re: [Bacula-users] Running complex commands or scripts remotely on a client, dweimer
|
|
|