Re: [Bacula-users] bacula 1.38.11 and RunScript

2007-03-28 Thread Kern Sibbald
On Wednesday 28 March 2007 12:30, Vadim Vatlin wrote: > On 11:59:43 Мар 28, 2007, Arno Lehmann wrote: > > > > Probably because the resource was implemented only after 1.38.11. You > > could look that up in the ReleaseNotes file, or simply use 'Client Run > > Before Job' in your setup. > > Hm..

Re: [Bacula-users] bacula 1.38.11 and RunScript

2007-03-28 Thread Vadim Vatlin
On 11:59:43 Мар 28, 2007, Arno Lehmann wrote: > > Probably because the resource was implemented only after 1.38.11. You > could look that up in the ReleaseNotes file, or simply use 'Client Run > Before Job' in your setup. Hm... You are right. The RunScript directive has appeared in version 2.0

Re: [Bacula-users] bacula 1.38.11 and RunScript

2007-03-28 Thread Arno Lehmann
Hi, On 3/28/2007 11:50 AM, Vadim Vatlin wrote: > Hi.. > > I'am newbie in bacula and I have a problem. > > > Job { > Name = "Sat" > Client = sat-fd > FileSet = "Sat Set" > Pool = Sat > RunScript { > RunsWhen = Before > AbortJobOnError = no > RunsOnClient = yes >

[Bacula-users] bacula 1.38.11 and RunScript

2007-03-28 Thread Vadim Vatlin
Hi.. I'am newbie in bacula and I have a problem. Job { Name = "Sat" Client = sat-fd FileSet = "Sat Set" Pool = Sat RunScript { RunsWhen = Before AbortJobOnError = no RunsOnClient = yes Command = "echo test > /tmp/test" } JobDefs = "DefaultJob" Writ