Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Wfi cron
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wfi cron (Read 3539 times)
nemodex
Newbie
Posts: 7
Karma: 0
Wfi cron
«
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 ?
Thanks
andrea
Logged
bartjsmit
Hero Member
Posts: 2014
Karma: 194
Re: Wfi cron
«
Reply #1 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>
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Wfi cron