Crono

A web-hosted API replacement for cron (a.k.a., cron as a service 🤓).


Here is the thing: implementing time is hard. It's more complicated to give your application a sense of timing than geolocalizing it. A lot of companies still rely on cron, the Unix utility for time-based job scheduling. It's simple to set up but it doesn't scale; it's error-prone; and it's hard to debug.


More sophisticated tech companies have replaced cron with their own solution: Airbnb’s Chronos, Yelp’s Tron, NextDoor’s NDScheduler. They are distributed and more reliable but deploying and maintaining a 3rd-party library can be very expensive for your engineering team.


Crono is the best of both worlds: reliable and easy-to-use. Try it yourself.


  1. Authentication
  2. Example
  3. Endpoints
    1. GET /jobs
    2. POST /jobs
    3. GET /jobs/{key}
    4. DELETE /jobs/{key}
  4. Triggers
  5. Tasks
  6. Pricing
  7. Support

Authentication

Requests to all endpoints have to be authenticated with a Authorization: Bearer {token} header. See the example below for more details. Email crono@gduverger.com to request a token.

Example

$ curl https://www.crono.com/jobs \
  -X POST \
  -H "Authorization: Bearer be625c95f9a7a1039bab8459433cb53b01016c50c4bcdc8cfa5934f6e04a01e9" \
  -H "Content-Type: application/json" \
  -d '{
    "trigger": {
      "name": "crontab",
      "params": {
        "expression": "0 * * * *"
      }
    },
    "task": {
      "name": "request",
      "params": {
        "method": "GET",
        "url": "https://www.crono.com/"
      }
    }
  }'

HTTP/1.1 201 Created

Endpoints

GET /jobs

POST /jobs

GET /jobs/{key}

DELETE /jobs/{key}

Triggers

Crontab

{
  "name": "crontab",
  "params": {
    "expression": "0 * * * *"
  }
}

Tasks

Request

{
  "name": "request",
  "params": {
    "method": "GET",
    "url": "https://www.crono.com/"
  }
}

Pricing

Crono costs $0.01/execution and your first 1,000 executions are free (no payment information required). Email crono@gduverger.com to request a token.

Support

Email crono@gduverger.com for help.