commit b9a7623be9d478af375664b7e20557477c0faf67 parent 094430c9ee179dbf705b04fe12474f58f339f1e5 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 10 Feb 2024 20:57:10 +0100 Add notes on crontab cleanup Diffstat:
M | README.md | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -30,3 +30,18 @@ If the video has not been fetched before, this will take a few seconds, as the s - [getID3](https://github.com/JamesHeinrich/getID3) - [yt-dlp](https://github.com/yt-dlp/yt-dlp) - PHP-7.2 or higher + +## Further notes + +The script will never "cleanup" audio files from the webdir root directory, after they have been downloaded by the client. Depending on your usecase scenario, it might be a good idea to setup a cronjob for that: +``` +# m h dom mon dow command +# | | | | | | +# | | | | | / +# | | | | | / +# | | | | / / +# | | | | / / +# | | | / / / +# | | | | | | + 0 0 * * 1 rm /var/www/yt2rss/*.opus +```