Cron to systemd Timer — .timer Unit File Generator | tick.pro
Convert cron expressions to systemd timer and service unit files. Essential for Linux servers migrating from cron to systemd.
Timer Unit (.timer)
Service Unit (.service)
Installation
sudo systemctl daemon-reload sudo systemctl enable --now cleanup.timer
Frequently Asked Questions
How do I convert a cron job to systemd?
Enter your cron expression and job name. The tool generates both a .timer unit (the schedule) and a .service unit (the command to run). Install them to /etc/systemd/system/.
What is the systemd equivalent of cron?
systemd uses .timer units for scheduling and .service units for the actual work. A timer triggers its matching service unit on the defined schedule using OnCalendar= directives.
curl "https://tick.pro/cron/systemd?expr=0%20*/6%20*%20*%20*&name=cleanup"