Skip to content
Your data never leaves your browser
Schedule: Every Monday through Friday at 09:00
Mon..Fri *-*-* 09:00:00
(catch up missed runs)
[Unit]
Description=Timer for my-task

[Timer]
OnCalendar=Mon..Fri *-*-* 09:00:00
Persistent=true

[Install]
WantedBy=timers.target
[Unit]
Description=Service for my-task

[Service]
Type=oneshot
ExecStart=/path/to/your/command
# Copy the files
sudo cp my-task.timer /etc/systemd/system/
sudo cp my-task.service /etc/systemd/system/

# Reload systemd and enable the timer
sudo systemctl daemon-reload
sudo systemctl enable --now my-task.timer

# Check status
systemctl status my-task.timer
systemctl list-timers --all | grep my-task

What is Cron โ†’ systemd.timer?

This tool converts standard 5-field cron expressions into systemd timer unit files. It generates the OnCalendar value, a complete .timer unit file, a .service template, and the shell commands to install them.

How to Use

  1. Enter a cron expression or select a preset
  2. Optionally change the timer/service name and toggle Persistent mode
  3. Copy the generated .timer and .service files
  4. Use the provided shell commands to install and enable the timer

Privacy & Security

All processing happens entirely in your browser. No data is sent to any server.

Ad