From: Mantis B. T. <no...@bu...> - 2016-07-17 16:34:01
|
The following issue has been CLOSED ====================================================================== http://bugs.bacula.org/view.php?id=2224 ====================================================================== Reported By: wandihuttel Assigned To: ====================================================================== Project: Bacula Bug Reports Issue ID: 2224 Category: Director Reproducibility: N/A Severity: minor Priority: normal Status: closed Resolution: fixed Fixed in Version: 7.4.3 ====================================================================== Date Submitted: 2016-05-18 17:50 BST Last Modified: 2016-07-17 17:33 BST ====================================================================== Summary: Add shortcut option to RunScripts console commands Description: 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: ConsoleRunAfterJob = "update stats" ConsoleRunAfterJob = "prune stats" ====================================================================== ---------------------------------------------------------------------- (0007366) kern (administrator) - 2016-07-17 17:33 http://bugs.bacula.org/view.php?id=2224#c7366 ---------------------------------------------------------------------- I was a little reluctant to apply this because it add new directives that could be avoided by enhancing RunScripts, but since this code is simple and ready, I have committed it. Thanks for the submission. This will be in Bacula version 7.4.3 to be released shortly. Issue History Date Modified Username Field Change ====================================================================== 2016-05-18 17:50 wandihuttel New Issue 2016-05-18 17:50 wandihuttel File Added: dird_conf.c.patch 2016-07-17 17:33 kern Note Added: 0007366 2016-07-17 17:33 kern Status new => closed 2016-07-17 17:33 kern Resolution open => fixed 2016-07-17 17:33 kern Fixed in Version => 7.4.3 ====================================================================== |