What's new

Schedule WAN restart?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Mikeyy

Regular Contributor
Hello,

Is there a way to schedule WAN reconnect on daily basis?
Same what we have in GUI under Administration, but for router restart.

My ISP assigns new IP every 24 hours, which leads to WAN restart.
But those 24 hours are on paper, most of times it's few hours earlier, so in couple of days my WAN starts dropping in middle of day when we are using Internet.
I'm just searching way to force it to happen in middle of night, without rebooting router all the time.

Thank you.
 
You might be able to do it using the service restart_wan command. You'd have to schedule the time by putting a cru statement in services-start.
 
Thank you!
This works for 4 am connection restart:
Code:
cru a resetconn "0 4 * * * service restart_wan"
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top