Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Automatic Scheduled Updates #276

Open
ajpri opened this issue Feb 9, 2025 · 2 comments
Open

Feature Request - Automatic Scheduled Updates #276

ajpri opened this issue Feb 9, 2025 · 2 comments

Comments

@ajpri
Copy link

ajpri commented Feb 9, 2025

describe what you would like to get implemented, why and how would this benefit everyone using this script

Description:
When deploying a new Xen Orchestra installation, I typically add an entry to /etc/crontab to schedule automatic updates using ./XenOrchestraInstallerUpdater --update once a week. For example, I usually set this to run on Friday nights at 11 PM.

Proposed Enhancement:
It would be useful to have an option in xo-install.cfg to specify a custom cron schedule. If enabled, the installer could automatically add the corresponding crontab entry during installation.

Benefits:

  • Simplifies the setup process by automating recurring updates.
  • Makes it easier to keep Xen Orchestra up to date.
@ronivay
Copy link
Owner

ronivay commented Feb 10, 2025

Hey,

This is certainly doable. I personally would like to add such cronjob myself, but will listen to feedback :) Let's see if this gets any thumbs up's.

@dsiminiuk
Copy link

IMHO, I think having xo-install.sh touching /etc/crontab is a bad idea. I would rather have full control of it rather than having another program manipulating it. Crontab syntax isn't that hard to figure out. KISS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants