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

Use specific cron file in /etc/cron.d #93

Open
cornelinux opened this issue Jan 30, 2020 · 0 comments
Open

Use specific cron file in /etc/cron.d #93

cornelinux opened this issue Jan 30, 2020 · 0 comments
Labels

Comments

@cornelinux
Copy link
Member

Backups, updates and cleanups as cronjobs are written to the file /etc/crontab.

We could write these entries to a new own file like /etc/cron.d/pi-appliance, which might keep things more in one place.
But in this case we would have to take care about migration, which might get a bit tricky to do this in a robust way.

Maybe in the postinst script, we could copy /etc/crontab to /etc/cron.d/pi-appliance if it does not exist, yet and remove the non-pi-lines.

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

No branches or pull requests

1 participant