Watchcat / rebooting?

Hi.

I would like to know if watchcat is like keep alive in dd wrt? I'd like to scheduling a rebooting every 3 days or 1xweek.. is it possible by that?
Thanks

Yes it is, been a while since i've used so i can't remember how much scheduling flexibility it has, but it's essentially the same.

There is an option for periodic reboot, other than rebooting on connectivity loss.
However you can achieve that without watchcat. -> https://openwrt.org/docs/guide-user/base-system/cron?s[]=reboot#periodic_reboot
Periodic reboot should not be needed and it would be best to find the root cause of your problem, rather than hiding them under the carpet. E.g a lot of files occupying space in /tmp

Thanks.
I've read the tuto, but I'm a novice so not sure about command and script.

As here : ( it's not all script to paste to command shell right? It contains explication?

# Reboot at 4:30am every day
# Note: To avoid infinite reboot loop, wait 70 seconds
# and touch a file in /etc so clock will be set
# properly to 4:31 on reboot before cron starts.
30 4 * * * sleep 70 && touch /etc/banner && reboot

No, you need to add this as a cronjob (or in scheduled tasks in Luci).

Exactly like that?

The lines starting with # are comments, so you can omit them.