mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 19:04:12 +00:00
Merge c228069023eccd1267f4ece31cecf6533e294afa into 3d8b682380773f01df0e5abc2ef582c30c663010
This commit is contained in:
commit
f097d14ad3
5
acme.sh
5
acme.sh
@ -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
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user