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

2011-08-24 Thread Martin Simmons
> On Wed, 24 Aug 2011 16:55:00 +0300, Yuri Timofeev said: > > 2011/8/24 Graham Keeling > > > On Wed, Aug 24, 2011 at 04:09:33PM +0300, Yuri Timofeev wrote: > > > Hi > > > > > > Problem in the symbol of ">". > > > Client Run Before Job = "ls -la > /tmp/test.log" > > > > > > As a workaround,

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

2011-08-24 Thread Yuri Timofeev
2011/8/24 Graham Keeling > On Wed, Aug 24, 2011 at 04:09:33PM +0300, Yuri Timofeev wrote: > > Hi > > > > Problem in the symbol of ">". > > Client Run Before Job = "ls -la > /tmp/test.log" > > > As a workaround, you could try putting your commands in a script and > running > the script instead.

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

2011-08-24 Thread Christian Manal
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 the

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

2011-08-24 Thread Francisco Javier Funes Nieto
Hi, Why don't you use a shell script with this command? J. 2011/8/24 Yuri Timofeev : > Hi > > 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. > > > Config file: > > Job { >   ... >   Client

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

2011-08-24 Thread Graham Keeling
On Wed, Aug 24, 2011 at 04:09:33PM +0300, Yuri Timofeev wrote: > Hi > > 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. > > > Config file: > > Job { > ... > Client Run Before Job = "ls

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

2011-08-24 Thread Yuri Timofeev
Hi 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. Config file: Job { ... Client Run Before Job = "ls -la > /tmp/test.log" } Console log: fd JobId 32287: shell command: run ClientRunBefore