Merge c228069023eccd1267f4ece31cecf6533e294afa into 3d8b682380773f01df0e5abc2ef582c30c663010

This commit is contained in:
oittaa 2025-06-04 22:47:44 +02:00 committed by GitHub
commit f097d14ad3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6778,6 +6778,11 @@ cron() {
export _ACME_IN_CRON=1 export _ACME_IN_CRON=1
_initpath _initpath
_info "$(__green "===Starting cron===")" _info "$(__green "===Starting cron===")"
if [ -z "$FORCE" ] && [ -z "$__INTERACTIVE" ]; then
random_sec=$(_math $$ % 59)
_info "Sleeping for $random_sec seconds."
_sleep $random_sec
fi
if [ "$AUTO_UPGRADE" = "1" ]; then if [ "$AUTO_UPGRADE" = "1" ]; then
export LE_WORKING_DIR export LE_WORKING_DIR
( (