1
General Discussion / Re: "No route to host": need to reload WAN every ~24 hour
« on: April 14, 2023, 07:48:06 pm »I'm getting the same issue now. How are you doing the cron job? Is that defined in the WebUI or through cli?
I have the following crontab in /usr/local/etc/cron.d/custom.cron:
Code: [Select]
# Reload WAN interface
30 */12 * * * root sleep 10; /usr/local/etc/rc.configure_interface wan
The sleep is to prevent interfering with Monit ping monitoring.
If you don't need the sleep, you should be able to achieve the same with a cronjob in the web UI by selecting "Periodic interface reset".