Bacula-users

Re: [Bacula-users] Script Client Run and ">"

2011-08-24 09:38:23
Subject: Re: [Bacula-users] Script Client Run and ">"
From: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 24 Aug 2011 15:36:17 +0200
Am 24.08.2011 15:09, schrieb Yuri Timofeev:
> Problem in the symbol of ">".
> File /tmp/test.log is not created.
> Running only the first part of the command "ls -la".
> "> /tmp/test.log" not worked.

Hi,

from the documentation for "RunScript" [1]:

   In addition, the command string is parsed then fed to the OS, which
   means that the path will be searched to execute your specified
   command, but there is no shell interpretation, as a consequence, if
   you invoke complicated commands or want any shell features such as
   redirection or piping, you must call a shell script and do it inside
   that script.


Regards,
Christian Manal


[1]
http://bacula.org/5.1.x-manuals/en/main/main/Configuring_Director.html#7481

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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>