Add shortcut option to RunScripts console commands

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Add shortcut option to RunScripts console commands

Wanderlei Huttel
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.

Best Regards

Wanderlei Hüttel

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!;131938128;j
Bacula-devel mailing list
[hidden email]