代码、数据与二维码工具

Crontab生成器

按参数生成crontab结果。

优先本地处理无需注册隐私说明 ↗

Use an absolute path when possible. Redirect output explicitly if the job should log somewhere.

使用步骤

如何使用

  1. Choose a value or interval for each cron field.
  2. Enter the command and review the generated schedule in plain English.
  3. Copy the complete crontab line and test it in your own environment before installing it.

The five cron fields

A standard cron entry uses minute, hour, day of month, month, and day of week, followed by the command. This generator uses the conventional five-field format and shows the resulting line before you copy it.

Check the host before scheduling

Cron implementations differ slightly between Linux, Unix, and hosting platforms. Confirm the server timezone, command path, shell, environment variables, and required permissions before adding the line to crontab.

常见问题

你可能还想知道

Which weekday numbers are used?

This generator uses 0 for Sunday through 6 for Saturday, matching the common cron convention. Some systems also accept 7 for Sunday, but this page keeps the output unambiguous.

Does this install the cron job?

No. It only creates and copies a text entry. Add it to your own crontab after reviewing the command and schedule.

Does the command leave my browser?

No. The schedule and command are assembled locally in your browser.