CronTool
Cron expression editor & debugger
Question

How do I set a cron job to run twice a week (bi-weekly)?

Answer

Easy! Just use the following cron:


0 0 * * 1,4 command

This sets the cron day of week to Monday (1) and Thursday (4). You can choose any values 0-7 (both 0 and 7 are Sunday).



Alternatively, you can use aliases:


0 0 * * MON,THU command
Why this matters

“Twice a week” in cron is just a list in the day-of-week field. The big design choice is which two days. Mon/Thu (3-day-4-day gap) is common for backups; Tue/Fri is common for reports; Wed/Sat for maintenance windows.


“Bi-weekly” is harder. Cron has no native “every other Monday” — the day-of-week field repeats weekly. The portable workaround: schedule weekly and have the script exit early on odd/even-numbered weeks. 0 9 * * 1 [ $(($(date +%V) % 2)) -eq 0 ] && /path/to/script.sh runs every Monday at 09:00 but only on even ISO week numbers. Quartz supports # for “Nth weekday of the month” (2#1 = first Monday) but still doesn't express every-other-week directly.


For finer-grained recurrence (every 14 days regardless of weekday), use a job runner with interval semantics. See also the every week guide and Mon/Wed/Fri pattern.

Read the dedicated guide: Cron every week.

Cron schedule used

Calendar

View future cron matches in a calendar

April 2026

Showing next 1000 cron schedules

Loading...

See this cron expression on the calendar → view example

Related cron questions

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

QuestionHow can one schedule a cron job for every Monday, Wednesday and Friday at 7:00 pm?
QuestionCan I run a cronjob every three days?
QuestionHow can I create a cron job that will run on the last day of every month?
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.

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-twice-a-week-or-bi-weekly

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