bc-agent bc-echo

This is a command that simply echoes its arguments and details about the environment in which it is executed.

BeyondCron will use this command when a command jobs’ host is within the example.com domain.

Usage

bc-echo args

Environment variables

echo_run_min minimum runtime in seconds (0-3600). Default is 2.
echo_run_max maximum runtime in seconds (0-3600). Default is 5.
echo_success probability of success. Default is 80.

if echo_run_max is less than echo_run_min, then the runtime will be echo_run_min.

Examples

jsmith% /opt/beyondcron/bin/bc-echo /bin/echo Hello world

Command ------- /bin/echo hello world   User details ------------ user: jsmith group: staff umask: 0022 dir: /private/tmp   Environment ----------- PATH = /usr/local/bin:/usr/bin:/bin PWD = /private/tmp SHLVL = 1 TZ = Asia/Tokyo _ = /usr/bin/env

See also