Wfi cron

Started by nemodex, May 18, 2017, 08:18:57 PM

Previous topic - Next topic
Hello from Italy
First Sorry for my bad english.
For some years, I used pfsense, on my alix board, with many pleasure. But with opnsense, it's very beautiful and easy.

With the new release, there is the possibility to cron some command. In my home I would like to turn off the wifi interface at the night, and turn on at the morning, But i don't do.

How can i do this ?

Thanks
andrea

You can add lines to /etc/crontab from the shell, but I would check them again after a firmware update since that may reset the crontab file.

ifconfig down <wlan interface>
ifconfig up <wlan interface>

Bart...