Merge branch 'pu-cron-fix' into pu

- Removed user specification from cron config.
- Removed logging to /var/log; this commit brings in `-x proc`,
  which logs out to std(out|err).
This commit is contained in:
Kevin Morris 2021-12-22 14:19:10 -08:00
commit e75aa386ea
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -11,4 +11,4 @@ if [ $? -eq 0 ]; then
echo "[$(date -u)] executed mkpkglists" >> /var/log/mkpkglists.log echo "[$(date -u)] executed mkpkglists" >> /var/log/mkpkglists.log
fi fi
exec /usr/bin/crond -n exec /usr/bin/crond -nx proc