Understanding 0 9 * * *
The cron expression 0 9 * * * breaks down as follows:
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | 9 | At hour 9 |
| Day of Month | * | Every day of month |
| Month | * | Every month |
| Day of Week | * | Every day of week |
When Does 0 9 * * * Run?
This cron expression will execute:
- Runs once per day
- In the server's configured timezone (usually UTC)
Example Next Run Times
Starting from January 1, 2025 00:00:
- Jan 1, 2025 at the scheduled time
- Jan 2, 2025 at the scheduled time
- Jan 3, 2025 at the scheduled time
- (Use our Cron Tester for exact times)
How to Use This Cron Expression
Linux/Unix Crontab
0 9 * * * /path/to/your/script.sh
Kubernetes CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
name: my-cronjob
spec:
schedule: "0 9 * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: my-job
image: my-image
restartPolicy: OnFailure
GitHub Actions
on:
schedule:
- cron: '0 9 * * *'
Node.js (node-cron)
const cron = require('node-cron');
cron.schedule('0 9 * * *', () => {
console.log('Running scheduled task');
});
Frequently Asked Questions
What does the cron expression 0 9 * * * mean?
Run daily job at 9 AM with 0 9 * * *. Work hour start triggers.
How do I test 0 9 * * * cron expression?
Use our free Cron Expression Tester to validate 0 9 * * *. Enter the expression, see the next execution times, and verify it matches your expected schedule.
What timezone does 0 9 * * * 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 0 9 * * * in Kubernetes?
Yes, Kubernetes CronJobs support standard 5-field cron expressions like 0 9 * * *. Add it to your CronJob spec.schedule field.
How many times does 0 9 * * * run per day?
Runs once per day
Related Cron Expressions
More Cron Tools
GetDevUtils offers a suite of developer tools including:
- Cron Expression Tester - Validate and test cron expressions
- Unix Timestamp Converter - Convert timestamps
- JSON Formatter - Format and validate JSON
- Regex Tester - Test regular expressions