Use 1min cron to schedule portforward
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#!/command/with-contenv bash
|
||||
|
||||
chmod +x /bin/set_port.sh
|
||||
(crontab -l ; echo "* * * * * /bin/set_port.sh") | sort - | uniq - | crontab -
|
||||
|
||||
(crontab -l ; echo "* * * * * run-parts /etc/periodic/1min") | sort - | uniq - | crontab -
|
||||
crond
|
||||
|
||||
0
services/torrents/config/set_port.sh → services/torrents/config/setPortForward
Normal file → Executable file
0
services/torrents/config/set_port.sh → services/torrents/config/setPortForward
Normal file → Executable file
Reference in New Issue
Block a user