Update cron library for ldap sync (#47983)

* ldap: update cron library

* Update docs/sources/enterprise/enhanced_ldap.md
This commit is contained in:
Jguer
2022-04-26 14:14:48 +02:00
committed by GitHub
parent 706d3d1161
commit 8126331f66
5 changed files with 5 additions and 10 deletions
+3 -3
View File
@@ -48,9 +48,9 @@ Removed users are automatically logged out and their account disabled. These acc
# @weekly | Run once a week, midnight between Sat/Sun | 0 0 0 * * 0
# @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * *
# @hourly | Run once an hour, beginning of hour | 0 0 * * * *
sync_cron = "0 0 1 * * *" # This is default value (At 1 am every day)
# This cron expression format uses 6 space-separated fields (including seconds), for example
# sync_cron = "* */10 * * * *"
sync_cron = "0 1 * * *" # This is default value (At 1 am every day)
# This cron expression format uses 5 space-separated fields, for example
# sync_cron = "*/10 * * * *"
# This will run the LDAP Synchronization every 10th minute, which is also the minimal interval between the Grafana sync times i.e. you cannot set it for every 9th minute
# You can also disable active LDAP synchronization