Bacula-users

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

2011-08-24 11:08:07
Subject: Re: [Bacula-users] Script Client Run and ">"
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 24 Aug 2011 16:05:13 +0100
>>>>> On Wed, 24 Aug 2011 16:55:00 +0300, Yuri Timofeev said:
> 
> 2011/8/24 Graham Keeling <graham AT equiinet DOT com>
> 
> > 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.
> >
> >
> Yes, of course. But it is inconvenient.

Try

Client Run Before Job = "sh -c 'ls -la > /tmp/test.log'"

__Martin

------------------------------------------------------------------------------
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>