[Unit] Description=Run myscript every minute [Timer] # OnCalendar=*:0/1 means every minute (minute 0, 1, 2, etc.) OnCalendar=*:0/1 # AccuracySec=1s ensures it runs as close to the minute as possible AccuracySec=1s # Persistent=true ensures it runs if the system was off during the schedule Persistent=true [Install] WantedBy=timers.target