Getting started
Each job you monitor gets a check, and each check has its own URL. Your job requests that URL every time it runs. If a request does not arrive on schedule, or the job reports that it failed, Crony alerts you.
Sign in
Open the sign-in page and enter your email address. Crony sends a link that signs you in; there are no passwords. Your first sign-in creates an account with one project and an email integration that alerts that address.
The dashboard shows times in your account's time zone and names the zone. Crony takes the zone from your browser at first, and you can change it on your account page.
Add a check
Give the check a name and tell Crony how often the job runs. That is either an interval, such as every day, or the job's cron expression and time zone. Then set a grace time: how late a ping may be before the check counts as down. Schedules explains both.
The check's ping URL looks like this:
https://staging.crony.sh/ping/f3a1c6e2-8d4b-4c7a-9e15-2b6d0c9a7f31Ping it from the job
Add a request to the end of the job. In a crontab:
30 2 * * * /usr/local/bin/backup.sh && curl -fsS -m 10 --retry 5 -o /dev/null https://staging.crony.sh/ping/f3a1c6e2-8d4b-4c7a-9e15-2b6d0c9a7f31The && sends the ping only when the job succeeds, so a failed run is reported as a missing ping. To report failures straight away, send the exit status instead. See Signals.
Try it
curl https://staging.crony.sh/ping/f3a1c6e2-8d4b-4c7a-9e15-2b6d0c9a7f31Crony answers OK, and the check turns from New to Up. From now on it expects the next ping on schedule.
Invite your team
Owners and managers add people to a project by email address in its settings, with one of these roles:
- The owner can do everything, and is the only one who can delete the project.
- Managers also manage integrations, API keys, the ping key and the team. Only the owner can change or remove another manager.
- Members create, change, pause, import and delete checks.
- Read-only members can see the project but not change it. They do not see ping URLs, the ping key or check email addresses.
Crony emails each person you add. It sends one address at most 3 such emails and confirmation requests in 24 hours, and one account can cause at most 20. Past either limit the person is still added, and the page says that no email was sent.
The checks count toward the owner's plan, not the plans of the people invited.