mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
Updated Examples of Cron Jobs
This commit is contained in:
parent
fd7e4ee264
commit
b5fc344420
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue