- Add ampache log purge crontab,
- Use now rx3-docker/php-apache:1.5.4-mga9 & rx3-docker/mariadb-1.1.3-mga9 images, - Rebuild for updates.
This commit is contained in:
6
etc/cron.d-webapp-internal/ampache
Normal file
6
etc/cron.d-webapp-internal/ampache
Normal file
@@ -0,0 +1,6 @@
|
||||
# /etc/cron.d/ampache: crontab fragment for ampache server
|
||||
|
||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
|
||||
|
||||
15 3 * * * apache cd /var/www; php bin/cli run:updateCatalog -v -c -e -a -g >/var/log/ampache/catalog_update.log 2>&1
|
||||
0 3 * * * apache find /var/log/ampache/ -type f -name "ampache*.log" -mtime +30 -delete
|
||||
Reference in New Issue
Block a user