Scheduling on/off wifi

Is there a reason not to use

crontab -e

with eg
0 23 * * * /sbin/wifi down
0 10 * * * /sbin/wifi restart
5 10 * * * /sbin/reboot

Does a reboot start wifi in any case? In this case the 2nd line would be useless.

I think it is not possible to start the router with a cronjob, if so I would prefer halt instead of "wifi down"

1 Like