Use 1min cron to schedule portforward

This commit is contained in:
Colin Hebert
2023-05-06 10:37:45 +10:00
parent 1dd9409a82
commit b078902514
3 changed files with 2 additions and 4 deletions

View File

@@ -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