Skip to content

Installation from binary


swarm-cronjob binaries are available on releases page.

Choose the archive matching the destination platform:

And extract swarm-cronjob:

wget -qO- | tar -zxvf - swarm-cronjob

After getting the binary, it can be tested with ./swarm-cronjob --help command and moved to a permanent location.

Server configuration

Steps below are the recommended server configuration.

Prepare environment

Create user to run swarm-cronjob (ex. swarm-cronjob)

groupadd swarm-cronjob
useradd -s /bin/false -d /bin/null -g swarm-cronjob swarm-cronjob

Copy binary to global location

cp swarm-cronjob /usr/local/bin/swarm-cronjob

Running swarm-cronjob

After the above steps, two options to run swarm-cronjob:

See how to create Linux service to start swarm-cronjob automatically.

2. Running from terminal



When launched manually, swarm-cronjob can be killed using Ctrl+C

Updating to a new version

You can update to a new version of swarm-cronjob by stopping it, replacing the binary at /usr/local/bin/swarm-cronjob and restarting the instance.

If you have carried out the installation steps as described above, the binary should have the generic name swarm-cronjob. Do not change this, i.e. to include the version number.

Last update: 2021-09-05 14:56:01
Created: 2020-09-21 23:07:39