On 17 Oct 2007 at 12:32, Pascal Charest wrote: > Hi, > > I am currently using bconsole for all my operations and would like to > know if there is anyway I could script command from outside the bacula > console.
Yes, look in the regress/tests directory for examples. > I'm thinking about a system like there is on asterisk (-rx "command") . > > The goal would be to launch an "Update Slots Scan Ultrium" every day, > at the same time in order to have an "uptodate library" . This is a good start, but you can get more complex: echo 'update slots' | bconsole bconsole << END-OF-DATA update slots etc.etc... END-OF-DATA -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users