:-P
>From http://bacula.org/rel-manual/Configuring_Director.html :
*Client Run Before Job = <command>*
This directive is the same as *Run Before Job* except that the
program is run on the client machine. The same restrictions apply to
Unix systems as noted above for the *Run Before Job*. In addition,
for a Windows client on version 1.33 and above, please take careful
note that you must ensure a correct path to your script. The script
or program can be a .com, .exe or a .bat file. However, if you
specify a path, you must also specify the full extension. Unix like
commands will not work unless you have installed and properly
configured Cygwin in addition to and separately from Bacula.
*Special Windows Considerations* The command can be anything that
cmd.exe or command.com will recognize as an executable file.
Specifying the executable's extension is optional, unless there is
an ambiguity. (i.e. ls.bat, ls.exe)
The System %Path% will be searched for the command. (under the
environment variable dialog you have have both System Environment
and User Environment, we believe that only the System environment
will be available to bacula-fd, if it is running as a service.)
System environment variables can be referenced with %var% and used
as either part of the command name or arguments.
When specifying a full path to an executable if the path or
executable name contains whitespace or special characters they will
need to be quoted. Arguments containing whitespace or special
characters will also have to be quoted.
ClientRunBeforeJob = "\"C:/Program Files/Software
Vendor/Executable\" /arg1 /arg2 \"foo bar\""
Davide Corio a écrit :
>Il giorno lun, 13/03/2006 alle 15.52 +0100, Ludovic Strappazon ha
>scritto:
>
>
>>Hi,
>>It is probably "ClientRunBefore"...
>>
>>
>
>Even this command isn't present in the bacula documentation :)
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users