Skip to content

Commit

Permalink
cron maintenance window
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 committed May 8, 2024
1 parent f85d145 commit 0ae5601
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nextcloud_install_production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,10 @@ install_and_enable_app admin_audit
nextcloud_occ config:app:set admin_audit logfile --value="$VMLOGS/audit.log"
nextcloud_occ config:system:set log.condition apps 0 --value admin_audit

# Set maintenance window for cron
# https://docs.nextcloud.com/server/29/admin_manual/configuration_server/background_jobs_configuration.html#background-jobs
nextcloud_occ config:system:set maintenance_window_start --type=integer --value=2

# Set SMTP mail
nextcloud_occ config:system:set mail_smtpmode --value="smtp"

Expand Down

0 comments on commit 0ae5601

Please sign in to comment.