Add a comment line for cron job.
This commit is contained in:
parent
5c8351a72c
commit
1f1cc766dd
|
@ -199,6 +199,7 @@ Now restart `fail2ban` service to load modified config files.
|
|||
Now add a cron job for `root` user:
|
||||
|
||||
```
|
||||
# Fail2ban: Unban IP addresses pending for removal (stored in SQL db).
|
||||
* * * * * /bin/bash /usr/local/bin/fail2ban_banned_db unban_db
|
||||
```
|
||||
|
||||
|
|
|
@ -214,7 +214,8 @@ action = iptables-multiport[name=dovecot, port="80,443,25,587,465,110,
|
|||
<p>Now restart <code>fail2ban</code> service to load modified config files.</p>
|
||||
<h2 id="add-required-cron-job-to-query-sql-database-and-unban-ip-addresses">Add required cron job to query SQL database and unban IP addresses</h2>
|
||||
<p>Now add a cron job for <code>root</code> user:</p>
|
||||
<pre><code>* * * * * /bin/bash /usr/local/bin/fail2ban_banned_db unban_db
|
||||
<pre><code># Fail2ban: Unban IP addresses pending for removal (stored in SQL db).
|
||||
* * * * * /bin/bash /usr/local/bin/fail2ban_banned_db unban_db
|
||||
</code></pre>
|
||||
|
||||
<p>It runs every minute and queries SQL database to get banned IP addresses which
|
||||
|
|
Loading…
Reference in New Issue