diff --git a/web/rootfs/etc/services.d/cron/run b/web/rootfs/etc/services.d/cron/run index 8efe6bf..636376b 100755 --- a/web/rootfs/etc/services.d/cron/run +++ b/web/rootfs/etc/services.d/cron/run @@ -1,3 +1,7 @@ #!/usr/bin/with-contenv bash -exec cron -f +if [[ $DISABLE_HTTPS -ne 1 ]]; then + if [[ $ENABLE_LETSENCRYPT -eq 1 ]]; then + exec cron -f + fi +fi