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



>>>>> On Wed, 24 Aug 2011 16:55:00 +0300, Yuri Timofeev said:
>
> 2011/8/24 Graham Keeling <graham@xxxxxxxxxxxx>
>
> > 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-users

...



Privacy