R7000, Using CRON to Schedule Wireless Not Working

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
adaphibar
DD-WRT Novice


Joined: 05 Sep 2019
Posts: 3

PostPosted: Sun Oct 27, 2019 16:03    Post subject: R7000, Using CRON to Schedule Wireless Not Working Reply with quote
Hi,
R7000,
Firmware: DD-WRT v3.0-r40559 std (08/06/19)
I have this in CRON:

#radio on 10am Mon - Saturday
0 10 * * 1-6 root wl -i eth1 radio on && root wl -i eth2 radio on
#radio off 4pm every day
0 16 * * * root wl -i eth1 radio off && root wl -i eth2 radio off

It won't turn radio on and off as directed. Any ideas what I am doing wrong or haven't done? I have turned crond on and off using PUTTY, the commands work from a PUTTY console

Thank you all for any help
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12835
Location: Netherlands

PostPosted: Sun Oct 27, 2019 16:15    Post subject: Reply with quote
Cron works unreliably on such an "old" build use a build later than build 41189.

See: https://svn.dd-wrt.com/ticket/6824

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
adaphibar
DD-WRT Novice


Joined: 05 Sep 2019
Posts: 3

PostPosted: Tue Oct 29, 2019 23:01    Post subject: Reply with quote
egc wrote:
Cron works unreliably on such an "old" build use a build later than build 41189.


Thanks! I had to use the beta version for my R7000 but CRON now works!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12835
Location: Netherlands

PostPosted: Wed Oct 30, 2019 7:54    Post subject: Reply with quote
adaphibar wrote:
egc wrote:
Cron works unreliably on such an "old" build use a build later than build 41189.


Thanks! I had to use the beta version for my R7000 but CRON now works!


Glad you got it working.

Note:
All builds are beta.
Do NOT use the router database !
See point 10 and following

Here is an excerpt of the forum rules, the rules are there so that we can help you better and we can all profit from it:
1. Read the forum rules: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=54959 .
2. Read this: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=54845 .
3. Research your router, start with the supported devices wiki:
https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices .
4. In the supported devices wiki you can see what architecture your router has and if you are lucky also an install guide/wiki.
5. Post in the right forum, from the former step you can see if your router is Broadcom, Qualcomm/Atheros, Marvell or other, use that forum to post router specific questions, for networking questions post in the Advanced Networking forum and for other things in the General Questions forum.
6. When posting always state router model, build number and when applicable the Kernel version.
Describe your problem and how you think it can be solved.
Give as much detail as you can also provide your network setup if applicable.
7. When posting pictures make sure the maximum width is not more than 600 pixels.
8. Do not hijack a thread, meaning do not post your own problem in someone else's thread. Just start your own thread.
9. If your post is answered and your problem solved, mark your thread with [SOLVED] (the header of your first post).
10. Do NOT use the router database, builds can be found at:
https://dd-wrt.com/support/other-downloads/?path=betas%2F2019%2F
All builds are beta including those from the router database.
11. Before uploading a new build research the build by looking in the build threads.
This is an example of a build thread for build 41328 for Broadcom routers:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321699&highlight=41328
Search build threads with the search function and search on build number.
12. Use the build threads from the former step to report success or problems.
13. For older Broadcom routers (Linksys WRT series) read the peacock thread although some of it is outdated: https://forum.ddwrt.com/phpBB2/viewtopic.php?t=51486&sid=05c269e8bc745f300278d04f3b742a98
Builds can be found in the Broadcom directory for Linux kernel 2.4, in Broadcom_K26 for Linux K2.6 and in Broadcom_K3X for Linux K3.X.
14. If you are sure you have discovered a bug, after asking and querying the forum, you can report a real bug in the bug tracker: https://svn.dd-wrt.com/

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Eber
DD-WRT Novice


Joined: 19 Mar 2020
Posts: 12

PostPosted: Sun Jul 05, 2020 11:03    Post subject: Reply with quote
Did it work with the same cron code you show
in this thread?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum