From cf1a33d8dc23018aa4988a94527d6156f46b12b3 Mon Sep 17 00:00:00 2001 From: Junior Date: Tue, 2 Jul 2019 09:26:17 -0400 Subject: [PATCH] Added instructions for the daily and at-boot scripts. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 50df2a3..d1ef2da 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,7 @@ A PHP and PERL based "jukebox style" home audio system for Linux. * The [getID3](https://github.com/JamesHeinrich/getID3) project needs to be added somewhere in a folder included by PHP. * The **tables.sql** file needs to be imported into the database referenced in the **homeaudio.ini** file. * The **art/** folder needs to be writable by the web server user. +* The main script for the home audio system should be set to execute at boot time: +...`su web -c "/var/www/html/m/scripts/homeaudio_music.pl &" 1>/dev/null 2>&1` +* The daily script to do upkeep and maintenance should be set to run every day (typically from /etc/cron.daily/, can be a soft link). +...`cd /etc/cron.daily && ln -s /var/www/html/m/scripts/homeaudio_updateall.sh`