CronTool
Cron expression editor & debugger
Question

How can I execute a cron job twice daily at midnight and 13:30?

Answer

You cannot do that with cron on a single line. You have to create 2 separate crons:


0 0 * * * command
30 13 * * * command
Why this matters

Standard cron has no way to say “at 00:00 and at 13:30” in one expression. The minute and hour fields are independent — any cross-product is a valid match. So 0,30 0,13 * * * would fire at 00:00, 00:30, 13:00 and 13:30 — four times a day.


This is the same constraint as the 8:00 / 15:30 case. Whenever the two times differ in both hour and minute, you need two cron lines.


For more complex multi-time daily schedules (3 or more fixed times), the pattern scales: one cron line per time. Or, switch to a scheduler with a richer time-set DSL (Quartz 0 30 13 ? * * + a second 0 0 0 ? * *, or AWS EventBridge schedule expressions).

Read the dedicated guide: Cron every day.

Cron schedules used

See this cron expression on the calendar → view example

Related cron questions

Other answers and worked examples for the most confusing cron expressions.

QuestionI am trying to create a Cron expression that runs every day at 8:00 AM and 3:30 PM. I understand how to create an expression that runs once a day, but not at multiple set times.
QuestionHow can I set up a cron job to run every night at 2:30? I am familiar with configuring it to run at 2:00, but not 2:30.
QuestionHow do I set up a cron job that runs every day at 1PM, 2PM and 3PM?
QuestionCan I set up a cron job to run every 15 minutes throughout the day, except for 3:00 AM? I have another task that I want to run at 3:00 AM and don't want these two conflicting.

Ready to schedule it?

Point Crontap at any URL. Pick any cron. Done.

WordPress, Shopify, Railway, Cloud Run, Vercel, HubSpot, Ghost, your own box. If it answers HTTP, Crontap can drive it on a clock you can read, in the timezone that actually matters, and page you when something breaks.

Free forever tier ・ No credit card required

Your next schedule
GET/wp-cron.php?doing_wp_cron=1

Schedule

every 5 minutes

Next run

in 23s

Permalink: https://tool.crontap.com/help/cron-job-run-script-at-two-different-specific-times

Apihustle Logo

This tool is part of the Apihustle suite - a collection of tools to test, improve and get to know your API inside and out.

  • Clobbr logo

    Clobbr

    The app & CLI tool to test API endpoint speed.

    Visit
  • Crontap logo

    Crontap

    Schedule recurring API calls using cron syntax.

    Visit
  • CronTool logo

    CronTool

    Debug multiple cron expressions on a calendar.

    Visit

  • Page AI

    AI Website Generator that designs and writes clean code.

    Visit
  • Shipixen

    Generate customized boilerplates in minutes.

    Visit
  • Page UI

    Landing page UI components for React & Next.js

    Visit