I'm submitting a patch for appreciation to include a shortcut of runscript
console commands in Job Resources.

Currently is necessary to use normal mode of RunScript like below:

RunScript {
   Console = "update stats"
   Console = "prune stats yes"
   RunsWhen = After
   Runs OnClient = no
}

My suggestion is create a new option like "ClientRunBeforeJob" or
"ClientRunAfterJob" to use the shortway:

ConsoleRunBeforeJob = "update stats"
ConsoleRunAfterJob = "prune stats"

I've already open a ticket in mantis.
http://bugs.bacula.org/view.php?id=2224

Best Regards

*Wanderlei Hüttel*
http://www.huttel.com.br
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to