3.2.4. "Load and Run"

The typical way of using BundleWorks is to load it upon login and then run 'bw' commands. At times, however, it can be helpful to 'load and run' in a single command. This is true when you need to execute BundleWorks commands at machine startup or from a cron entry.

In cases like these, you can run BundleWorks through a 'bw' executable installed within the 'work' directory of a BundleWorks instance. For example, the following two methods of running the BundleWorks taskrun command are equivalent.

$ . /local/bundleworks/work/bin/load.sh
$ bw taskrun daily
$ /local/bundleworks/work/bin/bw taskrun daily