Cronly
Search…
Cron job tasks
You can use our monitoring for your local cron jobs, but we also provide cron job tasks. With this service you can easily schedule cron jobs, which sends HTTP requests to your application.

Creating a new cron job

Settings tab

Go to Services » Cron jobs » Click Add in the top right.
Select a Project.
Pick a name, that described to monitor. This name is only used within Cronly and doesn't effect implementation.
Select the correct time zone. This is the time zone of the environment the cron job runs.
The schedule works in the same notation Unix based systems run their cron jobs.
When adding a new cron job, the monitor delay in minutes is used to automatically configure a monitor for your cron job.
To skip execution of the task, if there is a task still running, set overlap to no.
Set a time-out in seconds. We currently support a maximum of 5 minutes (7200 seconds).
After adding the cron job task, a monitor is automatically synced with the same details. This monitor is not counted as a monitor for your subscription.

Endpoint tab

Set the endpoint to the location of your cron job. All other values are optional, and specific to your own environment.

How is the task token used?

Each task as a unique token, which works similar as tokens for monitors. This token is always send to your cron job as HTTP-header, with the key Cronly-Token, and the token itself as value. Within your cron job you can verify if this token is correct, and the request was made by Cronly.

Cron job task schedule statuses

    failed Executing the request failed. Time-out was reached or the cron job response didn't return a 2xx HTTP-code.
    missed The execution was skipped, because the task is still running.
    ok Execution is done and there where no problems detected.
    planned Date was not reached yet.
    running Currently active.
    incomplete Not executed, for an unknown reason.

Cron job task archive

An archived cron job task, will be paused by Cronly and doesn't count as a task for your subscription plan.
To archive a cron job task, go to Services » Cron jobs » Click Archive next to the cron job.
To see all archived cron job task, go to Services » Cron jobs » Click Archive in the top right corner.
To restore a cron job task, go to archived cron job tasks. Click Restore next to the cron job.
Last modified 4mo ago