T
ToolPrime

Cron Expression for Daily at Noon

Run a cron job once per day at 12:00 PM using 0 12 * * *. Useful for midday reports and lunchtime data refreshes.

Expression

0 12 * * *

At 12:00 every day

Use Cases

Code Examples

Crontab

# At 12:00 every day
0 12 * * * /path/to/your/script.sh

GitHub Actions

name: Scheduled Job
on:
  schedule:
    - cron: '0 12 * * *'
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "Running Daily at Noon"

systemd Timer

[Unit]
Description=Daily at Noon timer

[Timer]
OnCalendar=*-*-* *:*:00
Persistent=true

[Install]
WantedBy=timers.target

Tips

Frequently Asked Questions

How do I specify noon in cron?

Use 0 12 * * *. Cron uses 24-hour format, so 12 is noon and 0 is midnight.

Can I combine noon and midnight in one expression?

Not in a single expression, but you can use 0 0,12 * * * to run at both midnight and noon.

Related Cron Expressions