Quantcast

Add shortcut option to RunScripts console commands

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

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!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Bacula-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-devel
Loading...