From 10652c889f40de9653ed5f79d8fe8c5914b05915 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 19 Feb 2021 09:18:12 +0800 Subject: [PATCH] Updated notify (markdown) --- notify.md | 1 - 1 file changed, 1 deletion(-) diff --git a/notify.md b/notify.md index 975bc7c..f833d32 100644 --- a/notify.md +++ b/notify.md @@ -400,7 +400,6 @@ export SMTP_BIN="/path/to/python_or_curl" export SMTP_TIMEOUT="30" # seconds for SMTP operations to timeout, default 30 ``` -> **Note:** cron does not load shell init files like .bashrc, so will not have any PATH changes from them. If python or curl are not found in the default PATH used by cron, SMTP notifications may succeed when you are setting them up from your shell, but will fail during certificate renewal from cron. To avoid this, set `SMTP_BIN` to the absolute path to your specific python or curl command. Ok, let's set notification hook: ```sh