It does accept STDIN, but wouldn't that just allow a one line command? Or do you mean something like:
Cat batchcommands | /etc/bconsole Thanks SKM ->-----Original Message----- ->From: [EMAIL PROTECTED] ->[mailto:[EMAIL PROTECTED] On Behalf ->Of Ryan Novosielski ->Sent: Friday, October 21, 2005 9:58 AM ->To: Sherwood McGowan ->Cc: bacula-users@lists.sourceforge.net ->Subject: Re: [Bacula-users] Suggestion for a REALLY handy ->enhancement, shouldn't be hard either... -> ->Could have sworn bconsole accepts STDIN. Am I wrong? -> ->---- _ _ _ _ ___ _ _ _ ->|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support ->Spec. III ->|$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - ->973/972.0922 (2-0922) ->\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science ->Bldg - C630 -> -> ->Sherwood McGowan wrote: -> ->>Is there any way we could get the ability to do this? ->> ->>I'd love to be able to issue a batch command to bconsole, something ->>similar to ->> ->>bconsole --batch 'status ; 1' ->> ->>Which would tell bconsole to run the command "status" and then "1" ->>(gets the status of the director) and then exit, outputting the ->>information to the screen (so I can have scripts parse it). ->Another example: ->> ->>Bconsole --batch 'run ; 8 ; yes' ->> ->>Which would tell bconsole to issue "run" and "8" (job #8) and then ->>"yes" to start the backup. This would be great so I can have some ->>simple scripts that force a backup to run, without having to ->have user interaction... ->> ->>Any thoughts? ->> ->>Thank you, ->>Sherwood ->> ->> ->> ->> ->>------------------------------------------------------- ->>This SF.Net email is sponsored by: ->>Power Architecture Resource Center: Free content, downloads, ->>discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ->>_______________________________________________ ->>Bacula-users mailing list ->>Bacula-users@lists.sourceforge.net ->>https://lists.sourceforge.net/lists/listinfo/bacula-users ->> ->> -> -> -> ->------------------------------------------------------- ->This SF.Net email is sponsored by: ->Power Architecture Resource Center: Free content, downloads, ->discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ->_______________________________________________ ->Bacula-users mailing list ->Bacula-users@lists.sourceforge.net ->https://lists.sourceforge.net/lists/listinfo/bacula-users -> ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users