Devtools.supstudio.in

Tools/Cron

Cron for the first of the month at 6pm

0 18 1 * *

At 06:00 PM, on day 1 of the month

Open in builder

What this schedule does

Day-of-month 1 and hour 18 give 0 18 1 * * — once a month on the 1st at 6pm. Invoices, quota resets, and monthly digests belong here. Standard cron has no “last day of month”; Quartz L is the usual upgrade if you need the 28th–31st.

Next 5 runs (UTC)

Times below are computed for UTC. Open the builder to preview another timezone.

  1. Tue, 01 Sept 2026, 18:00 UTC
  2. Thu, 01 Oct 2026, 18:00 UTC
  3. Sun, 01 Nov 2026, 18:00 UTC
  4. Tue, 01 Dec 2026, 18:00 UTC
  5. Fri, 01 Jan 2027, 18:00 UTC

Copy-paste snippets

GitHub Actions

UTC only. Quote the expression so YAML keeps the stars.

on:
  schedule:
    - cron: '0 18 1 * *'

Kubernetes

CronJob spec.schedule. Kubernetes uses the timezone of the kube-controller-manager unless you set .spec.timeZone.

apiVersion: batch/v1
kind: CronJob
metadata:
  name: job
spec:
  schedule: "0 18 1 * *"
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: job
              image: busybox
              args: ["echo", "run"]

AWS EventBridge

Six fields: minutes hours day-of-month month day-of-week year. Use ? in either day-of-month or day-of-week.

cron(0 18 1 * ? *)

Quartz

Quartz is seconds-first (6 or 7 fields). Day-of-week names are MON, TUE, … and ? is required in one of the day fields.

0 0 18 1 * *

Vercel Cron

{
  "crons": [
    {
      "path": "/api/cron",
      "schedule": "0 18 1 * *"
    }
  ]
}

crontab

0 18 1 * * /usr/local/bin/job

node-cron

import cron from 'node-cron';

cron.schedule('0 18 1 * *', () => {
  // job
});

Spring @Scheduled

Spring uses 6 fields by default (seconds first) unless you set spring.task.scheduling.cron.expression.

@Scheduled(cron = "0 0 18 1 * *")
public void run() {
    // job
}

Related schedules

Platform guides