Cron @daily Special String

@daily

Run once per day with @daily. Equivalent to 0 0 * * *.

Test This Expression →

Understanding @daily

The cron expression @daily breaks down as follows:

Field Value Meaning
Special@dailyShorthand expression

When Does @daily 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

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

Kubernetes CronJob

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

GitHub Actions

on:
  schedule:
    - cron: '@daily'

Node.js (node-cron)

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

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

Frequently Asked Questions

What does the cron expression @daily mean?
Run once per day with @daily. Equivalent to 0 0 * * *.
How do I test @daily cron expression?
Use our free Cron Expression Tester to validate @daily. Enter the expression, see the next execution times, and verify it matches your expected schedule.
What timezone does @daily 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 @daily in Kubernetes?
Yes, Kubernetes CronJobs support standard 5-field cron expressions like @daily. Add it to your CronJob spec.schedule field.
How many times does @daily run per day?
Once per day

Related Cron Expressions

More Cron Tools

GetDevUtils offers a suite of developer tools including: