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

Set up the auto-clean periodic task #168

Open
bochecha opened this issue Jan 19, 2018 · 0 comments
Open

Set up the auto-clean periodic task #168

bochecha opened this issue Jan 19, 2018 · 0 comments

Comments

@bochecha
Copy link
Contributor

Note: this is to be done in addition to the cron job Ideascube already has.

Because RFI boxes will be left alone without a Linux-savvy admin or an Internet access for 3 years, it's possible that the disk might get full eventually.

So we've made a command which can remove all the old radio shows and messages/ads from the audience.

Simply run the command:

$ ideascube irfi-auto-clean 6

The above will remove the stuff older than 6 months. Use a different number of months if appropriate.

This can probably be run daily.

@bochecha bochecha added this to the RFI Planète Radio milestone Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant