Automation Utility

Cron Job Schedule Builder

Visual tool to generate "Crontab" expressions. Define your timing and your script path to get a ready-to-use command.

Quick Timing:

Tip: Always use absolute paths (starting with /) to ensure the server finds your script.

Full Crontab Entry:
* * * * * [your_command_here]

Why specify a path?

When a Cron Job runs, it doesn't have the same "environment" as your terminal. It might not know where python or your script is located.

By providing the Full Absolute Path (e.g., /usr/bin/python3), you guarantee that the task will execute successfully every time, regardless of the system's default state.

Common Schedule Examples

Frequency Cron Expression
Every 5 Mins */5 * * * *
Every Hour 0 * * * *
Every Weekday 0 0 * * 1-5
Twice Daily 0 0,12 * * *
1st of Month 0 0 1 * *

Real-World Use Cases

Database Backups

Run a SQL dump at 2 AM daily to ensure data safety.

0 2 * * * /usr/bin/mysqldump ...

Log Rotation

Clear out massive error.log files every Sunday at midnight.

0 0 * * 0 /usr/bin/truncate -s 0 /var/log/app.log

SSL Renewals

Check for Certbot renewals twice a day automatically.

0 0,12 * * * /usr/bin/certbot renew