Add cron stuff

This commit is contained in:
Alexandre Aubin
2024-02-15 17:15:08 +01:00
parent c98cd372be
commit 2a5ec79151
3 changed files with 20 additions and 0 deletions

View File

@ -6,5 +6,6 @@ log=$workdir/app_list_auto_update.log
cd $workdir
date >> $log
git pull &>/dev/null
cat cron | sed "s@__BASEDIR__@$workdir@g" > /etc/cron.d/app_list
./tools/list_builder.py &>> $log || sendxmpppy "[listbuilder] Rebuilding the application list failed miserably"