1001Ferramentas
🤖 Utilities

Natural Language → Cron

Build a cron expression from Portuguese selectors (every X minutes, every workday at H, Monday at H:M). Rule-based, no AI.

Dias da semana (para frequência semanal)

Expressão cron:

Building cron without memorizing five fields

You need to schedule a job and get stuck translating every weekday at 8:30 into that row of asterisks. Despite the name, this page does not parse a typed sentence: you pick a frequency from a menu, fill in the time, day of month or weekdays, and the five field expression appears ready to paste into your crontab. It is all fixed rules, no AI and no guessing, so the same selections always yield the same line.

The every N minutes option produces something like */7 * * * *, and that is where cron's most common trap hides. The step counts from zero within each hour, so the job fires at 0, 7, 14 and onward to 56, then restarts at 0, leaving a 4 minute gap across the hour boundary. Even spacing only happens with divisors of 60: 2, 3, 4, 5, 6, 10, 12, 15, 20 and 30. Anything else and the last run of the hour sits closer to the next one.

The output has five fields, in Unix crontab format. If your scheduler is Quartz or the Spring scheduler, it expects six fields with seconds in front and will reject this line. The month field is always left as an asterisk, so quarterly schedules are out of reach here. Check the server timezone too, since cron follows the machine clock: 08:30 on a UTC VPS is 05:30 in Brazil. The expression is assembled in your browser.

Frequently asked questions

What does each field mean?
In order: minute, hour, day of month, month and day of week. In this tool Sunday is 0 and Monday is 1, matching the Linux cron convention.
How do I run something on weekdays only?
Pick the weekly frequency and check Monday through Friday. You get something like 30 8 * * 1,2,3,4,5, which most schedulers also accept written as 1-5.
I picked day 31 of the month. Does it run every month?
No. Cron simply skips months that have no 31st, February included. For a job that must run at the end of every month, day 28 is the safe pick.

Related Tools