OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Wfi cron
« previous next »
  • Print
Pages: [1]

Author Topic: Wfi cron  (Read 1320 times)

nemodex

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
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: 1161
  • Karma: 138
    • View Profile
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
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2