mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-01 02:34:12 +00:00
Merge c228069023eccd1267f4ece31cecf6533e294afa into 40b6db6a2715628aa977ed1853fe5256704010ae
This commit is contained in:
commit
f657442717
5
acme.sh
5
acme.sh
@ -6771,6 +6771,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