From b5fc3444209b277c64215b8bb1952f9587b3fb71 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Wed, 14 Jun 2017 17:19:15 +0200 Subject: [PATCH] Updated Examples of Cron Jobs --- update-ngxblocker | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update-ngxblocker b/update-ngxblocker index 9552f751b..9bf7163d6 100755 --- a/update-ngxblocker +++ b/update-ngxblocker @@ -267,7 +267,10 @@ exit $? # Add this as a cron to run daily / weekly as you like # Here's a sample CRON entry to update every day at 10pm -# 00 22 * * * /usr/sbin/update-ngxblocker +# 00 22 * * * sudo /usr/sbin/update-ngxblocker + +# Here's another example to run it daily at midday using a command line switch to set the email address for the notification +# 00 12 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremailprovider.com # better logging for cron jobs: # https://serverfault.com/questions/137468/better-logging-for-cronjobs-send-cron-output-to-syslog