Manual Steps to Re-run Remote Agent Update Cron Job
2 min
These steps outline how to manually identify and re-run the remote agent update cron job that normally executes on schedule. This is useful if you need to trigger the update immediately without waiting for the cron schedule.
Manual steps to re-run a remote agent updade cron job
- List all cron jobs for the current user:
crontab -l
- Locate the cron job entry containing your host, for example: us1.swimlane.app.
Example entry:
0 0 1 1 * curl -s https://<domain>/orchestration/api/account/<account-id>/tenant/<tenant-id>/v1/agents/update | bash -s -- -d "/usr/bin/docker"
- Copy just the command portion (everything after the 5 schedule fields). In the example above, that would be:
curl -s https://<domain>/orchestration/api/account/<account-id>/tenant/<tenant-id>/v1/agents/update | bash -s -- -d "/usr/bin/docker
- Run it manually to trigger the upgrade.
curl -s https://<domain>/orchestration/api/account/<account-id>/tenant/<tenant-id>/v1/agents/update | bash -s -- -d "/usr/bin/docker