OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: nemodex on May 18, 2017, 08:18:57 pm

Title: Wfi cron
Post by: nemodex on May 18, 2017, 08:18:57 pm
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 ?

Title: Re: Wfi cron
Post by: bartjsmit on May 18, 2017, 09:35:58 pm
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>