Cron @monthly Special String

@monthly

Run once per month with @monthly. Equivalent to 0 0 1 * *.

Test This Expression →

Understanding @monthly

The cron expression @monthly breaks down as follows:

Field Value Meaning
Special@monthlyShorthand expression

When Does @monthly Run?

This cron expression will execute:

Example Next Run Times

Starting from January 1, 2025 00:00:

How to Use This Cron Expression

Linux/Unix Crontab

@monthly /path/to/your/script.sh

Kubernetes CronJob

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-cronjob
spec:
  schedule: "@monthly"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: my-job
            image: my-image
          restartPolicy: OnFailure

GitHub Actions

on:
  schedule:
    - cron: '@monthly'

Node.js (node-cron)

const cron = require('node-cron');

cron.schedule('@monthly', () => {
  console.log('Running scheduled task');
});

Frequently Asked Questions

What does the cron expression @monthly mean?
Run once per month with @monthly. Equivalent to 0 0 1 * *.
How do I test @monthly cron expression?
Use our free Cron Expression Tester to validate @monthly. Enter the expression, see the next execution times, and verify it matches your expected schedule.
What timezone does @monthly run in?
Cron expressions use the system timezone by default. For servers, this is typically UTC. Always verify your server's timezone with 'timedatectl' or check your cron daemon configuration.
Can I use @monthly in Kubernetes?
Yes, Kubernetes CronJobs support standard 5-field cron expressions like @monthly. Add it to your CronJob spec.schedule field.
How many times does @monthly run per day?
Once per month

Related Cron Expressions

More Cron Tools

GetDevUtils offers a suite of developer tools including: