Free tool

Schedule test runs cron can't express

Pick a schedule, a time and a timezone. Get the cron line, or where cron can't do it alone, the closest line plus a guard for GitHub Actions, GitLab CI or crontab. Check the next 12 runs before you use it.

Runs in your browserGitHub Actions, GitLab CI, crontabConverts to UTC
Run the tests

Building your schedule

Next 12 runs

    Config to copy

    GitHub Actions
    GitLab CI
    crontab

    Swap npm test for your own test command.

    How the guard works

    Cron fires on a fixed pattern of minutes, hours, days and months. When your schedule doesn't fit that pattern, run cron on the closest one and let a one-line check skip the extra runs.

    Cron fires on the closest pattern

    For every other Monday or the first Monday of the month, cron runs every Monday at your time.

    The guard checks the date

    A shell test counts whole weeks since your first run, or checks the day of the month in your timezone.

    Extra runs stop in seconds

    On GitHub Actions the test steps are skipped. On GitLab CI and crontab the job exits before the tests start.

    Cron can do these alone

    • Every day, weekdays, or a set of days like Monday, Wednesday and Friday
    • Every 1, 2, 3, 4, 6, 8 or 12 hours
    • A fixed day of the month, like the 1st or the 15th

    These need a guard

    • Every other week, or every 3 or 4 weeks
    • The first, second, third or fourth weekday of the month, like the first Monday
    • The last weekday of the month, like the last Friday

    FAQ

    Did we miss a question?
    Email us directly →

    Why can't cron run a job every other week?
    Cron has five fields: minute, hour, day of the month, month and day of the week. None of them counts weeks, so there is no line for "every second Monday". The usual fix is to run cron every Monday and add a one-line check that skips the off weeks. The builder writes that check for you.
    Why does 0 6 1-7 * 1 not run on the first Monday?
    When both day fields are set, cron runs when either one matches. So 0 6 1-7 * 1 runs on days 1 to 7 of the month and on every Monday, about 11 times a month. The fix is to run every Monday (0 6 * * 1) and check that the date is between 1 and 7.
    What timezone does GitHub Actions cron use?
    UTC, always. The builder converts your time to UTC for the GitHub line and tells you when a clock change will move it. GitHub can also start scheduled runs late when it is busy, so the every-other-week check allows 3 days of slack, and the first-Monday check reads the date when the job runs.
    Why not use date +%V for every other week?
    It is the common answer, but it breaks at the end of some years. date +%V prints the ISO week number, and 2026 has 53 weeks: Monday December 28, 2026 is week 53 and Monday January 4, 2027 is week 1. Both are odd, so a parity check runs two weeks in a row. The builder counts whole weeks from your first run instead, which stays even across years.
    Do any schedulers support "first Monday" directly?
    Some extend cron. Quartz, Spring and Amazon EventBridge accept # for the Nth weekday and L for the last. GitHub Actions and standard crontab don't, so a guard is the portable way.
    Which timezone does crontab use?
    The server's. The crontab line uses your chosen time and assumes the server is set to the timezone you picked. On a server set to UTC, use the times from the GitHub Actions line. In GitLab, pick the timezone in the pipeline schedule itself.

    Run real-user tests on your schedule.

    Pie runs plain-English tests on web and mobile apps like a real user, reruns failures to check them and reports what broke.