CronTool
Cron expression editor & debugger
Question

I want to execute a task every 20 minutes, starting at 5 past the hour, is it possible to achieve this with Cron?

Answer

Yes it is. You can use the following cron expression:


5-59/20 * * * *

An asterisk (*) in the minute field is equivalent to 0-59/1, where 0-59 represents the range and 1 is the step. The command will execute at the initial minute of the range (0), then at each subsequent minute that is separated by the step (1), up until the final minute (59).

Cron schedule used

Calendar

View future cron matches in a calendar

November 2023

Showing next 1000 cron schedules

Loading...

Cron frequently asked questions

Get answers and examples to the most confusing cron expressions. See some of the popular ones below.

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.
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.
QuestionI want to execute a task every 20 minutes, starting at 5 past the hour, is it possible to achieve this with Cron?
QuestionIs it possible to use cron to accomplish the following particular use case? I desire for the scheduler to trigger every five minutes from a specific start time, such as 1:00 PM to 5:45 PM.
QuestionHow can I write a Crontab that will run my script every 2 hours?
QuestionHow do I set a cron script for every 5 minutes without using the minutes divisible by 5?
QuestionI am trying to add a crontab entry to execute a script every 30 minutes, on the hour and 30 minutes past the hour or something similar. How can I do this?
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.
QuestionHow can one schedule a cron job for every Monday, Wednesday and Friday at 7:00 pm?
QuestionI am looking to have a script run every 5 minutes, beginning at 13:02, and another script to run every 5 minutes starting at 13:04, so the second script runs two minutes after the start of the first job. How can I accomplish this?
QuestionHow can I run command every six hours every day?
QuestionHow can I run a script 20 times a day at random times, between 9am and 11pm?
QuestionCan I run a cronjob every three days?
QuestionHow do I set up a cron job that runs every day at 1PM, 2PM and 3PM?
QuestionHow do I set a cron job to run twice a week (bi-weekly)?
QuestionHow do you run a cron job every minute only on specific hours?
QuestionHow can I execute a cron job twice daily at midnight and 13:30?
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

  • Shipixen

    Generate customized boilerplates in minutes.

    Visit