Scripts to restart interfaces

Hi guys,

I'm quite new with OpenWrt and I've been using the software for three months now and recently I installed ExpressVPN on my TP-Link Archer C7 V5 with version OpenWrt 19.07.3 r11063, due to the single CPU and lower processing speed, I had to configure my VPN as L2TP, it is impossible to use OpenVPN (Higher cpu resources are needed).

My VPN is working great, however, I'm facing something issues such as loss conectivity, hence I have to connect to my router to reset the WAN Interface and the VPN Interface, so that the connection could be established again.

I'm looking for scripts that reset my interfaces WAN and VPN maybe every 8 hours or daily, some of you guys have the same issues or have any scripts that may be I can adjust it? I tried HotPlug, but not sure if I understood the samples correctly, buy for me are not working.

My interface details are the following:

l2tp-VPN Link encap:Point-to-Point Protocol (VPN)
eth0.2 Link encap:Ethernet (Public IP Address - directly connected to ISP's modem)

I'd really appreciate it and thanks

And reboot ...

https://oldwiki.archive.openwrt.org/doc/howto/cron#periodic_reboot_of_a_router

New URL: https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot

The old page is for archival purposes only and does not receive updates any more.

luci-app-watchcat is good