# Cron job hosting in 2026: GitHub Actions vs Cloudflare Workers vs Vercel vs Render vs Railway

Gregale · Updated 2026-11-30

How often GitHub Actions, Cloudflare Workers, Vercel, Render, Railway and Gregale run a cron job, how late it starts, overlaps, and what a small job costs.

**To run a script on a schedule without a server, the free options are GitHub
Actions (every 5 minutes at most, and runs can be late or dropped at busy
times), Cloudflare Workers Cron Triggers (every minute, but 10 ms of CPU per
run on the free plan) and Vercel (once a day on Hobby for Cron Jobs, every 15
minutes with up to 15 minutes of jitter for the new Schedules).** Render and
Railway run any command on a schedule and bill only while it runs. Gregale
calls a route on your app, or runs a command, every minute if you want, and
wakes the app for it. In our test, runs started about one second after their
scheduled minute, and a 2-second job was billed about 6 seconds per run once
the app was set to pause between requests.

_Gregale publishes this page. Every limit and price names its vendor and comes
from that vendor's own docs or pricing page, checked on November 30, 2026. The
Gregale numbers are from our own test, described below._

For a Python script in particular, with Heroku Scheduler in the comparison
and a cron that writes to Postgres, see
[How to run a Python script on a schedule without a server](https://gregale.dev/articles/run-python-script-on-schedule-without-server).

## At a glance

| Host                                 | Most frequent                              | When a run starts                                                                         | What runs                                                           | Longest run                                                                                    | Cost for a small job                                                                                                                        |
| ------------------------------------ | ------------------------------------------ | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **GitHub Actions**                   | Every 5 minutes                            | Can be delayed at busy times, such as the start of every hour; queued runs can be dropped | Any command on a runner VM                                          | 6 hours per job on GitHub-hosted runners                                                       | Free in public repositories; private repositories draw on $12 a month of included compute on GitHub Free ($0.006 a minute for Linux 2-core) |
| **Cloudflare Workers** Cron Triggers | Every minute                               | UTC; changes take up to 15 minutes to reach every location                                | A Worker's `scheduled()` handler (JavaScript, TypeScript or Python) | 15 minutes wall time; CPU 10 ms on Free, 30 seconds by default on Paid                         | Free: 5 triggers per account; Paid from $5 a month, 1,000 triggers                                                                          |
| **Vercel** Cron Jobs (legacy)        | Hobby: once a day; Pro: every minute       | Hobby: anywhere in the scheduled hour                                                     | A Vercel Function, called by URL                                    | The function's duration limit                                                                  | Billed as function usage                                                                                                                    |
| **Vercel** Schedules (beta)          | Hobby: every 15 minutes; Pro: every minute | Within a jitter window: always 15 minutes on Hobby, 1 minute by default on Pro            | A function, a route or a queue consumer                             | The function's duration limit                                                                  | Hobby: 5,000 runs per billing period                                                                                                        |
| **Render** cron jobs                 | Any cron expression, in UTC                | One run at a time: the next waits for the active one                                      | Any Linux command or Docker image                                   | 12 hours                                                                                       | Per second of running time, $1 a month minimum per cron job; 512 MB: $0.00016 a minute                                                      |
| **Railway** cron jobs                | Every 5 minutes                            | Can vary by a few minutes; a run is skipped while the previous one is still active        | Your service's start command, which must exit                       | Until it exits                                                                                 | Per minute of RAM and CPU used; Hobby is $5 a month with $5 of usage included                                                               |
| **Gregale** (Hobby and above)        | Every minute, in any IANA timezone         | About 1 second after the minute in our test                                               | A `POST` to a route on your app, or a command (preview)             | 30 seconds for a route (up to the plan's request timeout); 10 minutes by default for a command | Plan RAM for each second the app runs, about 6 seconds for a 2-second job in our test; Hobby is $10 a month with 200 GB-RAM-hours included  |

## Two shapes of scheduled job

A schedule either **runs a command** or **calls code that is already
deployed**:

- **A command:** GitHub Actions, Render and Railway start your script in its
  own process, let it run to the end and stop. This fits a script you already
  run by hand: a backup, a report, a scraper. Gregale's command crons (in
  preview) work the same way, in a fresh VM of your app's live deployment.
- **A call:** Cloudflare Workers calls a `scheduled()` handler, Vercel calls a
  function, and a Gregale cron sends a `POST` to a route on your app. The job
  lives next to the code it uses, with the same database connection,
  configuration and secrets.

What changes between hosts is how often a schedule may fire, how close to the
scheduled time it starts, what happens when one run is still going when the
next is due, and what you pay for the time in between.

## Overlaps and duplicates

A job that sometimes runs long will one day still be running when the next one
is due. Each host handles it differently:

- **Render** keeps at most one run active and delays the next scheduled run
  until it finishes. A run you trigger by hand cancels the active one.
- **Railway** skips the new run while the previous one is still active, and
  keeps skipping as long as a process never exits.
- **Vercel Schedules** treat runs as independent: a slow run doesn't delay the
  next, so two can overlap. Every delivery of one occurrence carries the same
  execution ID, so handlers can drop duplicates.
- **Gregale** delivers each scheduled time once by default and does not retry
  a failed run; the next scheduled time is the next attempt.
  `--skip-if-running` skips a time while the previous run is still queued or
  running, and failure rules can add retries, in which case make the handler
  idempotent with the `X-Faas-Invocation-Id` header.

## GitHub Actions

A workflow with an `on: schedule` trigger runs on a GitHub-hosted runner, so it
can run anything a shell can. It is free in public repositories. Its docs list
the catches:

- The shortest interval is once every 5 minutes.
- Scheduled runs can be delayed when GitHub Actions is busy, which includes
  the start of every hour, and if the load is high enough, queued jobs can be
  dropped. GitHub suggests scheduling at another minute of the hour.
- Schedules run on the latest commit of the default branch only.
- In a public repository, scheduled workflows are turned off after 60 days
  without repository activity.

That makes it a good home for a weekly report or a nightly link check in an
open-source repository, and a poor one for anything that must run at a given
minute.

## Cloudflare Workers Cron Triggers

A Cron Trigger calls the `scheduled()` handler of a Worker, every minute if you
like. The free plan allows 5 Cron Triggers per account and 10 ms of CPU time
per run, which covers calling an API and writing the result, not processing a
file. On Workers Paid ($5 a month minimum), a run gets 30 seconds of CPU by
default, up to 5 minutes for schedules under an hour and 15 minutes for hourly
or slower ones, and an account can have 1,000 triggers.

Two details catch people: Cron Triggers run on UTC, and in Cloudflare's cron
syntax the days of the week go from 1 = Sunday to 7 = Saturday. A new or
changed trigger can take up to 15 minutes to propagate, and runs can be missed
until it has.

## Vercel

Vercel Cron Jobs call a function in your project over HTTP. On Hobby they run
at most once a day, and Vercel only promises the hour: a job set for 1:00 runs
any time between 1:00 and 1:59. Pro runs them every minute.

Vercel now calls Cron Jobs a legacy feature and is moving them to Schedules,
in beta on every plan. Schedules add timezones, one-time runs and schedules
created at runtime. On Hobby a schedule runs at most every 15 minutes, with a
15-minute jitter window, and a team gets 5,000 runs per billing period. Pro
runs every minute with a 1-minute window. Both bill the function's usage.

## Render

A Render cron job is its own service: it builds from your repository or pulls
a Docker image, runs a command on a cron expression in UTC, and stops. It is
billed per second of running time, with a minimum of $1 a month per cron job;
the smallest size, 512 MB, is $0.00016 a minute. A run is stopped after 12
hours, and cron jobs can't use a persistent disk.

Render runs at most one copy at a time. If a run is still going when the next
is due, the next waits for it.

## Railway

Railway turns any service into a cron job: on each scheduled time it starts
the service's start command, which must exit when it's done. Runs must be at
least 5 minutes apart, schedules are in UTC, and Railway does not promise the
minute: a run can start a few minutes late. If the previous run is still
active, the new one is skipped, so a script that leaves a database connection
open stops its own schedule.

Usage is billed per minute: RAM at $10 per GB a month and CPU at $20 per vCPU
a month. Hobby is $5 a month and includes $5 of usage.

## Gregale

A Gregale cron sends a `POST` to a route on your app on a five-field cron
schedule, every minute at most, in UTC or any IANA timezone. The app doesn't
need to be running: Gregale wakes it for the request and pauses it again
afterwards, so you pay for a few seconds per run, not for a server waiting
for it.

```bash
gregale cron create --app my-api --schedule "*/15 * * * *" --path /jobs/sync
gregale cron create --app my-api --schedule "0 3 * * *" --path /jobs/nightly --timezone Europe/Istanbul
gregale cron runs CRON_ID   # start time, duration and outcome of each run
```

The handler gets 30 seconds to answer, or the app's request timeout where that
is longer: up to 1 minute on Hobby, 5 on Pro and 15 on Scale. Work that takes
longer belongs in a [job](https://gregale.dev/docs/jobs.md).

Each run carries an `X-Faas-Invocation-Source: cron` header that a visitor
can't forge, and an `X-Faas-Invocation-Id` to recognize a run you've already
done:

```python
from fastapi import FastAPI, HTTPException, Request

app = FastAPI()

@app.post("/jobs/sync")
async def sync(request: Request):
    if request.headers.get("x-faas-invocation-source") != "cron":
        raise HTTPException(status_code=403)
    run_id = request.headers["x-faas-invocation-id"]
    # skip run_id if you've stored it already, then do the work
    return {"ok": True}
```

Crons can live in `gregale.yaml` next to the code, so a deploy creates them:

```yaml
triggers:
  - kind: cron
    app: my-api
    schedule: '*/15 * * * *'
    path: /jobs/sync
    skip_if_running: true
```

For a script with no route, a **command cron** (in preview) runs it in a
fresh VM of the app's live deployment, with a 10-minute timeout by default:

```bash
gregale cron create --app my-api --schedule "0 2 * * *" --command "python scripts/backup.py" --shell
```

Crons need Hobby or above; Free accounts can't create them. Hobby is $10 a
month and allows 5 crons per app and 10 per account; Pro allows 20 and 50,
Scale 100 and 500. A run is billed like any request, by the app's plan RAM
for every second the app runs, including the wake, out of the plan's included
GB-RAM-hours (200 on Hobby). A command cron is billed the same way, from the
moment the command starts until it ends.

If the app only does work when a request or a cron calls it, say so in
`gregale.yaml`. It then pauses about a second after every request:

```yaml
lifecycle:
  pause: between_requests
```

Without a `pause` setting, Gregale pauses the app between requests only when
it sees it really idle, and in our test that made each run about six times as
expensive (below).

## What we measured

On November 30, 2026, we deployed a small FastAPI app on Gregale Hobby
(256 MB). Its one route, `POST /jobs/{name}`, blocks for 2 seconds and logs
when the request arrived. Three crons pointed at it: a route every 2 minutes,
a route every 15 minutes, and a command cron every 5 minutes running a Python
script that sleeps for 3 seconds. Start times and durations come from
`gregale cron runs`, and billed compute from `gregale app costs`.

- **Start time:** every route run started 1.01 to 1.12 seconds after its
  scheduled minute, and every command run 1.00 second after.
- **Duration:** the 2-second job took 2.06 to 2.18 seconds, including runs
  that resumed an instance that had been paused for 15 minutes. The 3-second
  command took 3.6 to 3.9 seconds in a fresh VM, with Python running about 0.3
  seconds after the command started.
- **Two crons at once:** at 12:30 UTC both route crons fired at the same
  instance. The handler blocks, so the second run waited for the first and
  took 4.14 seconds. An `async` handler, or work handed to a
  [job](https://gregale.dev/docs/jobs.md), avoids that.
- **Billing without a `pause` setting:** the app kept running after each run,
  and 10 route runs between 12:11 and 12:30 UTC were billed 91,344
  MB-seconds: about 35 seconds each at 264 MB (256 MB plus 8 MB).
- **Billing with `pause: between_requests`:** after a redeploy, 7 route runs
  between 13:21 and 13:36 UTC were billed 10,296 MB-seconds in all, about 5.6
  seconds each.
- **Command runs** were billed separately under the app, for about as long as
  each command ran: 3 runs, 3,168 MB-seconds.

Every run we recorded succeeded. This was one app on one day, measured with
our own meter; treat the figures as a guide, not a benchmark.

## What a small job costs

Take a job that does 2 seconds of work every 15 minutes: 2,880 runs in a
30-day month.

| Host                        | Monthly cost                                                                                                       | The catch                                                                                    |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- |
| **GitHub Actions**          | Free in a public repository; in a private one, runner time comes out of the $12 of included compute on GitHub Free | Runs can start late, or be dropped at busy times                                             |
| **Cloudflare Workers**      | Free, if each run fits in 10 ms of CPU; otherwise Workers Paid, from $5                                            | UTC only, and the job is written as a Worker                                                 |
| **Vercel** Schedules (beta) | Within Hobby's 5,000 runs per billing period                                                                       | Every 15 minutes is Hobby's limit, and a run lands anywhere in a 15-minute window            |
| **Render**                  | $1, the minimum: 96 minutes of running time at 512 MB is $0.015                                                    | A separate cron job service for each schedule                                                |
| **Railway**                 | Well inside Hobby's $5 of included usage                                                                           | Runs can start a few minutes late                                                            |
| **Gregale**                 | About 1.2 GB-RAM-hours of the 200 included in Hobby, with `pause: between_requests` (about 7 without)              | Hobby is $10 a month, which only makes sense for a job that belongs to an app you host there |

Every minute instead (43,200 runs), GitHub Actions, Railway and Vercel Hobby
are out. Render still charges its $1 minimum ($0.23 of running time), and on
Gregale the job uses about 17 GB-RAM-hours with `pause: between_requests`, or
about 108 without it, both inside Hobby's 200.

For one standalone script, a public GitHub repository, Cloudflare's free plan
or Render's $1 costs less than a Gregale plan. Gregale fits when the job
belongs to an app you already host there: its crons come with the plan and
draw on the same included hours.

## Which one to pick

- **A weekly or nightly task in a public repository, where a late run doesn't
  matter:** GitHub Actions.
- **A tiny call every minute, written as a Worker:** Cloudflare Workers Cron
  Triggers, on the free plan if it fits in 10 ms of CPU.
- **A job inside a Next.js app already on Vercel:** Vercel, on Pro if it must
  run more than once a day on time.
- **A long batch script, up to hours, in any language:** Render cron jobs.
- **A short script in a project already on Railway, every 5 minutes or
  slower:** Railway cron jobs.
- **A job that belongs to your app, every minute if needed, in your timezone,
  started on time and billed for a few seconds per run:** Gregale Hobby, with
  `pause: between_requests`.

## Sources

Checked on November 30, 2026:
[GitHub Actions schedule event](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#schedule),
[GitHub Actions billing](https://docs.github.com/en/billing/concepts/product-billing/github-actions),
[GitHub Actions limits](https://docs.github.com/en/actions/reference/limits),
[Cloudflare Cron Triggers](https://developers.cloudflare.com/workers/configuration/cron-triggers/),
[Cloudflare Workers limits](https://developers.cloudflare.com/workers/platform/limits/),
[Cloudflare Workers pricing](https://developers.cloudflare.com/workers/platform/pricing/),
[Vercel Cron Jobs usage and pricing](https://vercel.com/docs/cron-jobs/usage-and-pricing),
[Vercel Schedules](https://vercel.com/docs/schedules),
[Vercel Schedules limits](https://vercel.com/docs/schedules/limits),
[Vercel Schedules concepts](https://vercel.com/docs/schedules/concepts),
[Render cron jobs](https://render.com/docs/cronjobs),
[Render pricing](https://render.com/pricing),
[Railway cron jobs](https://docs.railway.com/reference/cron-jobs),
[Railway plans and pricing](https://docs.railway.com/reference/pricing/plans),
[Gregale crons](https://gregale.dev/docs/crons.md),
[Gregale plans](https://gregale.dev/docs/plans.md) and
[Gregale pricing](https://gregale.dev/pricing).

## Questions

### How can I run a script on a schedule for free?

GitHub Actions runs scheduled workflows free in public repositories, every 5 minutes at most, though runs can be delayed or dropped when GitHub is busy. Cloudflare Workers Cron Triggers run every minute on the free plan with 10 ms of CPU per run and 5 triggers per account. Vercel Hobby runs Cron Jobs once a day, within the scheduled hour.

### Why is my GitHub Actions scheduled workflow late or not running?

GitHub says the schedule event can be delayed when GitHub Actions is busy, especially at the start of every hour, and that queued jobs can be dropped under high load; it suggests picking another minute of the hour. Schedules also run only on the default branch, and in a public repository they are turned off after 60 days without repository activity.

### Can Vercel cron jobs run more than once a day on the Hobby plan?

Not with Cron Jobs: on Hobby they run at most once a day, anywhere within the scheduled hour. Vercel Schedules, the beta that replaces Cron Jobs, can run every 15 minutes on Hobby with a 15-minute jitter window and 5,000 runs per billing period. Pro runs both every minute.

### Does a scheduled job keep my app running between runs?

Not on hosts that start the job per run. Render and Railway bill a cron job only while its command runs. A Gregale cron wakes the app for the run, and an app that sets `pause: between_requests` in gregale.yaml pauses about a second later: in our test a 2-second job was billed about 6 seconds per run at the app's plan RAM. Without that setting, the same app was billed about 35 seconds per run.

Canonical URL: https://gregale.dev/articles/run-script-on-schedule-cron-hosting-compared

