This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Wireless Schedule via Crontab ====== {{INLINETOC 2 4 }} ===== Introduction ===== To disable the wireless users at a specific time during the day...say 10:45am-1:00pm you can use this how-to ===== Edit Crontab file ===== SSH into your router with putty or winSCP edit ///etc/crontabs/root// <shell> vi /etc/crontabs/root </shell> Add these example lines <shell> 30 22 * * * wifi down 30 6 * * * wifi up </shell> To enable new the schedule either reboot the router or run <shell> /etc/init.d/cron stop </shell> <shell> /etc/init.d/cron start </shell> ==== Crontab syntax ==== minute (0-59), hour (0-23, 0 = midnight), day (1-31), month (1-12), weekday (0-6, 0 = Sunday) Turn wifi off at 10:30pm <shell> 30 22 * * * wifi down </shell> Turn wifi on at 6:30pm <shell> 30 6 * * * wifi up </shell>

wireless_schedule.1343903903.txt.gz · Last modified: 2012/08/02 10:38 by eric
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki