aurweb/docker/scripts/run-cron.sh
2021-12-14 17:02:36 -06:00

14 lines
285 B
Bash
Executable file

#!/bin/bash
cd /aurweb
aurweb-aurblup
if [ $? -eq 0 ]; then
echo "[$(date -u)] executed aurblup" >> /var/log/aurblup.log
fi
aurweb-mkpkglists --extended
if [ $? -eq 0 ]; then
echo "[$(date -u)] executed mkpkglists" >> /var/log/mkpkglists.log
fi
exec /usr/bin/crond -nx proc