How to use/install cron

How can I install cron on ZimaOS?

Is there any other way to execute a user script on a regular basis?

ZimaOS runs on systemd, so you could try to create timers.

But I’m afraid they would survive an update.

What do you want to achieve exactly?

I would like to perform a reboot once a day and I would also like to run a script containing chmod and chown command probably hourly.

I created a systemd timer in /etc/systemd/system/ for a restart. Works fine, the server restarts as expected.

But as already mentioned, ZimaOS is immutable and I’m afraid the timers won’t survive an update.

Maybe this would be a great feature in the UI for an upcoming version?

Thank you for reaching out to discuss your intention to run cron. We are actually more interested in understanding why you need this feature and what scripts you plan to run with cron. You mentioned wanting to run chmod and chown. Could you please explain why you would need to execute these commands?

Understanding these questions helps us better grasp your actual needs, thereby allowing us to provide more accurate and effective solutions. If it is convenient for you, please provide specific requirements. We will carefully discuss them and decide whether to introduce relevant solutions to address them. Thank you.