droplet-agent icon indicating copy to clipboard operation
droplet-agent copied to clipboard

Use systemd timers insteaad of cron

Open QuLogic opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. The droplet agent package requires cron, and installs files in /etc/cron.* but I otherwise have no other need for cron. Since the packaging instructions say systemd is the preferred form of management, this should apply to the maintenance jobs as well. Stuff like this random delay can be specified directly in the timer unit instead of written manually.

Describe the solution you'd like Provide systemd timer unit files, and change the packaging to not depend on cron.

QuLogic avatar Mar 17 '22 00:03 QuLogic

See also https://github.com/digitalocean/do-agent/issues/266

QuLogic avatar Mar 17 '22 00:03 QuLogic

Thanks for bringing this to our attention @QuLogic ! I'll discuss it with my team and get back here with any updates.

house-lee avatar Mar 26 '22 00:03 house-lee

I would like to support this proposal as well.

iosonogio avatar Mar 17 '24 07:03 iosonogio