How can I restart any service regularly especially Wi-Fi

I need to schedule for restart Wi-Fi regularly but not sure using service for this and couldn't find a service list

# Reboot at 4:30am every day
/30 4 * * * /etc/init.d/wireless reboot

Can I use that way or anoter way

That looks almost good, and the crontab file is located at /etc/crontabs/root - hope this helps:

# Reboot at 4:30am every day
30 4 * * * wifi reload

That should restart wireless every day at 4:30 AM.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.