Hacker News new | past | comments | ask | show | jobs | submit login

> Not sure if I understand - a Cron "unit" is just a command that runs in a clean environment - you can test that without Cron.

It's not that easy to do. I've wasted hours in an old life figuring out that cron ran my scripts with a different $PATH than `env -i` did. systemd timers/units on the other hand are executed through the exact same code path, so if `systemctl start` works, you can be sure it works when started by a timer too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: