6 Oct
2008
6 Oct
'08
5:20 p.m.
On Monday 06 October 2008, Jon Boede wrote:
What's a good way to get all the BB environment variables set up when I want to use them in a script that's not launched from hobbitd?
For example, if I have a script that receives an email and reports a status because of it? I know that I could hard-code everything, but that's tacky. :-) server/bin/bbcmd <your script>
And if that gives an error that it can not open a config file, first do export BBHOME=<server dir>
This also works for the hobbit client.
Stef