Fixed incorrect syntax usage and missing environment variables in cron jobs

This commit is contained in:
Hunter Wittenborn 2021-12-14 16:56:29 -06:00
parent 02a62532da
commit 48973fe036
No known key found for this signature in database
GPG key ID: A9678BE2A64D1DDF

View file

@ -1,2 +1,3 @@
*/5 * * * * bash -c 'aurweb-aurblup && echo "[$(date -u)] executed aurblup" >> /var/log/mkpkglists.log'
*/5 * * * * bash -c 'aurweb-mkpkglists --extended && echo "[$(date -u)] executed mkpkglists" >> /var/log/mkpkglists.log'
AUR_CONFIG='/aurweb/conf/config'
*/5 * * * * root bash -c 'aurweb-aurblup && echo "[$(date -u)] executed aurblup" >> /var/log/mkpkglists.log'
*/5 * * * * root bash -c 'aurweb-mkpkglists --extended && echo "[$(date -u)] executed mkpkglists" >> /var/log/mkpkglists.log'