- Add ampache crontab.

This commit is contained in:
Arnaud G. GIBERT 2024-10-20 17:25:52 +02:00
parent 5859c4b949
commit ad03b772e6
4 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,11 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3/Ampache-Mga9 V 1.2.3 - A. GIBERT - 2024/10/xx
------------------------------------------------------------------------------------------------------------------------------------
- Fix crontab: user ampache user instead of root and add it to git.
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
Rx3/Ampache-Mga9 V 1.2.2 - A. GIBERT - 2024/10/06 Rx3/Ampache-Mga9 V 1.2.2 - A. GIBERT - 2024/10/06
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------

View File

@ -1,4 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

5
etc/cron.d/ampache Normal file
View File

@ -0,0 +1,5 @@
# /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