Hi there, this is the official changelog page of FastCron.

Jul 13, 2023 fastcron.com

Updote makes it easy to share updates, changelog, news, links, and code with your team and users.

Sign up Log in

Time filter

New

By default, the crontab uses OR when the day of the week and day of the month are specified.

For, example, 7 0 12 * Fri will run your cronjob at 00:07 on Friday OR on day 12 of each month.

dow-or-dom

It would be impossible to require matching of both the day of the week and the day of the month using either crontab syntax or time expression.

For example, run cronjobs on Friday the 12th, or run on Tuesday and Wednesday from day 10 to day 20.

To solve this, FastCron now supports the Time filter.

filter To show the Time filter, click on the Filter button.

It supports simple expressions with 5 variables:

  • minute: integer, from 0 to 59
  • hour: integer, from 0 to 23
  • day: integer, from 1 to 31
  • month: integer, from 1 to 12
  • weekday: string, including Mon, Tue, Wed, Thu, Fri, Sat, and Sun

It supports a lot of operators. See the full list here.

Here are some examples for you:

  • Run on Friday the 12th, at 8:00: set the expression to 1 day 8:00 (or 0 8 * * *) and the filter to day == 12 and weekday == 'Fri'
  • Run only on Tuesday and Wednesday, from day 10 to 20: (weekday == 'Tue' or weekday == 'Wed') and day >= 10 and day <= 20 or weekday in ['Tue', 'Wed'] and day >= 10 and day <= 20

This feature is available for the Indie, Team, and Business plans.

If you need some custom time settings, comment below and I'll help.

Thuan Thuan · 28w · 3296

Please sign up or log in to comment.