Browse Source

updated crontab b/c www-data doesn't have sudo

feature/startup-from-labels
Mar Alegre 5 years ago
parent
commit
22439aaf90
  1. 2
      src/nextcloud/assets/crontab

2
src/nextcloud/assets/crontab

@ -5,7 +5,7 @@ PATH=/usr/local/bin:/bin:/usr/bin
*/5 * * * * php -f /var/www/html/nextcloud/cron.php
# Scan for new files every 15 minutes
*/15 * * * * nc-occ files:scan --all
*/15 * * * * php /var/www/html/nextcloud/occ files:scan --all
# Dump database every hour
23 * * * * maint 01 01

Loading…
Cancel
Save