Skip to builder

Free web tool

Cron & Schedule Builder

Design a schedule visually or paste an existing expression. Get equivalent Unix cron, Azure NCRONTAB, GitHub Actions, and Kubernetes CronJob snippets — plus the next five run times in your timezone.

At time (24-hour)

Human-readable schedule

At 09:00, every day — interpreted in Asia/Saigon.

Next 5 run times

Upcoming run times in Asia/Saigon and UTC
#Asia/SaigonUTC
1Tue, 1 Dec 2026, 09:00:00 GMT+7Tue, 1 Dec 2026, 02:00:00 UTC
2Wed, 2 Dec 2026, 09:00:00 GMT+7Wed, 2 Dec 2026, 02:00:00 UTC
3Thu, 3 Dec 2026, 09:00:00 GMT+7Thu, 3 Dec 2026, 02:00:00 UTC
4Fri, 4 Dec 2026, 09:00:00 GMT+7Fri, 4 Dec 2026, 02:00:00 UTC
5Sat, 5 Dec 2026, 09:00:00 GMT+7Sat, 5 Dec 2026, 02:00:00 UTC

Unix cron (5-field)

0 9 * * *
Usage snippet
# crontab entry (interpreted in the host or CRON_TZ timezone)
# m h dom mon dow
0 9 * * * /usr/local/bin/your-job

Gotchas

  • Unix crontab uses five fields: minute, hour, day of month, month, day of week.
  • The expression is interpreted in the timezone of the host (or the daemon, such as cron's CRON_TZ).
  • Seconds are not supported. If the source schedule uses a non-zero seconds field, it is dropped here.

Azure Functions NCRONTAB (6-field)

0 0 9 * * *
Usage snippet
// Azure Functions timer trigger (NCRONTAB, seconds first)
// Default timezone is UTC. On some Windows plans, set WEBSITE_TIME_ZONE.
[Function("ScheduledJob")]
public void Run([TimerTrigger("0 0 9 * * *")] TimerInfo timer)
{
    // ...
}

Gotchas

  • Azure Functions NCRONTAB uses six fields, with seconds first: second, minute, hour, day, month, day of week.
  • Timer triggers default to UTC. On some Windows App Service plans you can set WEBSITE_TIME_ZONE; Linux Consumption stays on UTC.
  • An optional seventh year field is Azure-only and will not work in Unix cron, GitHub Actions, or Kubernetes.

GitHub Actions

0 2 * * *
Usage snippet
# GitHub Actions evaluates on.schedule in UTC only.
# The shortest supported interval is every 5 minutes; jobs may still be delayed.
# This expression was converted to UTC from the timezone selected above.
on:
  schedule:
    - cron: '0 2 * * *'

Gotchas

  • GitHub Actions schedule cron is always evaluated in UTC, even if your repository or runners use another timezone.
  • The shortest supported interval is every five minutes. More frequent expressions are accepted but will not run that often.
  • Scheduled workflows can be delayed during peak load, and they do not run in the default branch until the workflow file is merged there.

Kubernetes CronJob

0 9 * * *
Usage snippet
apiVersion: batch/v1
kind: CronJob
metadata:
  name: scheduled-job
spec:
  schedule: "0 9 * * *"
  timeZone: "Asia/Saigon" # Requires Kubernetes 1.27+
  concurrencyPolicy: Forbid
  successfulJobsHistoryLimit: 3
  failedJobsHistoryLimit: 1
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: job
              image: busybox:1.36
              command: ["sh", "-c", "echo Running at $(date)"]

Gotchas

  • A Kubernetes CronJob uses a standard five-field cron expression plus an optional timeZone field.
  • The timeZone field requires Kubernetes 1.27 or later. On older clusters the field is ignored and the controller-manager's local time (often UTC) is used.
  • If timeZone is omitted, the schedule is interpreted in the timezone of the kube-controller-manager process.

One schedule, four production formats

Cron looks simple until you move the same job between a Linux host, Azure Functions, a GitHub Actions workflow, and a Kubernetes cluster. The field counts do not match, the default timezone is almost never the one you had in mind, and a schedule that is legal in one system can be silently wrong in another. This builder keeps a single schedule in sync across all four, shows when the next runs actually fire, and calls out the format-specific traps before you paste the result into production.

Unix cron (5 fields)

The classic crontab has five fields: minute, hour, day of month, month, and day of week. There is no seconds field. The expression is interpreted in the timezone of the machine — or CRON_TZ if the daemon supports it — which is why a job that looks right on your laptop can run seven hours off on a UTC server.

Azure Functions NCRONTAB (6 fields)

Timer triggers use NCRONTAB, which prepends a seconds field: second minute hour day month day-of-week. An optional seventh year field exists but is Azure-only. Unless you have configuredWEBSITE_TIME_ZONE on a plan that honors it, the trigger is evaluated in UTC — and Linux Consumption stays on UTC.

GitHub Actions on.schedule

Scheduled workflows use a five-field Unix cron inside a YAML snippet, and GitHub always evaluates it in UTC. The shortest interval GitHub will honor is five minutes, and runs can still slip during peak load. When you pick a timezone other than UTC, this tool converts the expression so 09:00 in Asia/Saigon becomes 02:00 UTC, and it warns when daylight saving time makes a single UTC cron impossible year-round.

Kubernetes CronJob

A CronJob carries a five-field schedule and, on Kubernetes 1.27 and later, a timeZone field (an IANA name such as Asia/Saigon). If you omit the field, or the cluster is older than 1.27, the schedule is interpreted in the timezone of kube-controller-manager — commonly UTC, and easy to miss.

Frequently asked questions

Short answers for the four formats this builder targets. The same points appear as gotchas on each output card while you edit a schedule.

What is a 5-field Unix cron expression?

A Unix cron expression has five space-separated fields in this order: minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–7, where both 0 and 7 mean Sunday). Stars, lists, ranges, and steps such as */15 are allowed. There is no seconds field, so a job can start at 09:00 but not at 09:00:30.

Which timezone does Unix cron use?

The expression itself does not include a timezone. cron reads the host timezone, unless the daemon is configured with CRON_TZ or a similar setting. If you write 0 9 * * * and the box is on UTC, the job runs at 09:00 UTC, not 09:00 in your office.

What happens if I set both day-of-month and day-of-week?

In the Unix family — including crontab, GitHub Actions, and Kubernetes — the job runs when either field matches (OR). The expression 0 9 1 * 1 therefore fires at 09:00 on the first of the month and also at 09:00 every Monday. This surprises people who expect both conditions to apply at once. The builder warns when both fields are restricted.

How is Azure NCRONTAB different from Unix cron?

NCRONTAB puts seconds first, so the six-field form is second, minute, hour, day, month, day-of-week. A Unix expression 0 9 * * * becomes 0 0 9 * * * in NCRONTAB. Azure also allows an optional seventh year field, which this builder will keep in the Azure output and drop everywhere else.

What timezone do Azure Functions timer triggers use?

The default is UTC. Some Windows App Service plans honor the WEBSITE_TIME_ZONE application setting; Linux Consumption plans do not and remain on UTC. If you need 09:00 in Asia/Saigon on a UTC-only plan, write the NCRONTAB for 02:00 UTC or confirm that WEBSITE_TIME_ZONE is set and actually takes effect on your plan.

Can I paste a 5-field expression into Azure Functions?

You should not. A five-field string is interpreted as NCRONTAB without a day-of-week, or it fails validation, depending on the host. Always use six fields for timer triggers. This builder adds a zero seconds field when you start from Unix cron.

Why is my GitHub Actions cron in UTC?

GitHub documents on.schedule as UTC only. There is no timezone field on the workflow trigger. If you select Asia/Saigon in this tool, a daily 09:00 schedule is emitted as 0 2 * * * for GitHub Actions, because Indochina Time is UTC+7 and does not observe daylight saving time.

Why did my GitHub Actions workflow not run at the exact time?

Scheduled workflows are queued, not guaranteed wall-clock triggers. GitHub may delay a job during high load, and a workflow only runs on the default branch after the file has been merged there. Missed runs are not always replayed. Treat the cron as a target, not a SLA.

What is the minimum interval for scheduled GitHub Actions workflows?

Five minutes. You can write * * * * * in the YAML and GitHub will accept the file, but it will not run the workflow every minute. The builder flags any schedule that can fire more often than every five minutes so you can change it before you merge.

When can I use the timeZone field on a Kubernetes CronJob?

The timeZone field is valid from Kubernetes 1.27 onward and takes a standard IANA name such as Asia/Saigon or America/New_York. The schedule fields then mean wall-clock time in that zone, including daylight saving adjustments. On clusters older than 1.27 the field is ignored.

What if I omit timeZone on a CronJob?

The schedule is interpreted in the local time of the kube-controller-manager process. Many clusters run that component in UTC, but it is a cluster configuration detail, not something the CronJob object records. Prefer an explicit timeZone on 1.27+ so the intent travels with the manifest.

Can I paste an existing expression or YAML snippet to convert it?

Yes. The Paste expression tab accepts a 5-field Unix cron, a 6- or 7-field NCRONTAB string, aliases such as @daily, a GitHub Actions on.schedule snippet, or a Kubernetes CronJob manifest. The tool extracts the expression (and a timeZone value when one is present) and fills in the other formats.