Server for executing jobs locally and or/remotely using ssh.
bc-agent [--cluster name] [--user user] [--host host] [--local] [server][:port] ... bc-agent --version bc-agent --help
|--cluster name|| of BeyondCron cluster to join. Default is
|--user user|| name of user to login the the BeyondCron cluster as. Default is
|--host host||host name of agent. Default is name returned by /bin/hostname.|
|--local|| start as a local job executor only, and do not attempt to execure non-local
jobs using ssh. Default is non-local , executing jobs using ssh.
|server||server name/s within the cluster. Default is name returned by /bin/localhost.|
|port|| server port number. Default is
|--version||print the command version.|
|--help||print the command options.|
|BEYONDCRON_CLUSTER_NAME||name of BeyondCron cluster to join.|
|BEYONDCRON_CLUSTER_PASSWORD||password of cluster. If password is in the format file:filename, then the password will be read from filename. Default is a cluster specific random string.|
|BEYONDCRON_AGENT_LOCAL||start as a local job executor only.|
|BEYONDCRON_AGENT_USER_NAME||name of user to connect to server as.|
|BEYONDCRON_AGENT_USER_PASSWORD||password of user. If password is in the format file:filename, then the password will be read from filename. Default is a BeyondCron specific random string.|
|BEYONDCRON_HOST_NAME||host name of agent.|
|BEYONDCRON_SERVER_NAMES||one or more space separated server[:port]s to connect to.|
|BEYONDCRON_SERVER_PORT|| the server port number. Default is
|BEYONDCRON_ALERT_COMMAND|| operating system command which is called when bc-agent stops unexpectedly. This can be used for example to send an email or SMS message. When called, the following environment variables will be set:
|BEYONDCRON_ECHO|| enable/disable the echo command and url. Default is
|BEYONDCRON_ECHO_HOST|| name of host whose commands/webhooks are sent to the echo command/url. Default is
|BEYONDCRON_ECHO_COMMAND|| path to the echo command. Default is
|BEYONDCRON_ECHO_URL|| URL to the echo url. Default is
|BEYONDCRON_ENVIRONMENT_PATH||value of PATH environment variable which is set when executing command jobs. Default = /usr/local/bin:/usr/bin:/bin|
|JAVA_OPTS|| one or more JVM options. e.g.
where a parameter is defined on both the command line and as an environment variable, the command line value will be used.
- bc-agent installation
- bc-agent echo