1
0
Fork 0
ipset_updater/install.sh

5 lines
203 B
Bash
Executable File

#!/bin/bash
echo "30 12 * * * root /opt/ipset_updater/ipset_update.sh >> /var/log/blacklist_update.log" > /etc/cron.d/ipset_update
chmod a+x /etc/cron.d/ipset_update
systemctl restart cron.service