shedule reboot not working

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page 1, 2  Next
Author Message
community
DD-WRT Novice


Joined: 04 Feb 2018
Posts: 10

PostPosted: Sun May 19, 2019 15:33    Post subject: shedule reboot not working Reply with quote
Router Model:linksys wrt 1900ac

Status: ok
Reset: no
Errors:the schedule reboot is not working.Will appreciate it if u can have a careful look at it.
I have to keep rebooting manually because when i schedule it it does not work.
Thank you
Sponsor
rkwood
DD-WRT Novice


Joined: 05 Apr 2018
Posts: 19

PostPosted: Sun May 19, 2019 17:49    Post subject: Reply with quote
Router: WRT32X
Firmware: r39800 (05/15/19)

Scheduled reboot works fine for me.

Which revision of the firmware are you running?
community
DD-WRT Novice


Joined: 04 Feb 2018
Posts: 10

PostPosted: Tue May 21, 2019 12:47    Post subject: Reply with quote
i am using the same version.
What time and day schedule did u choose.
rkwood
DD-WRT Novice


Joined: 05 Apr 2018
Posts: 19

PostPosted: Tue May 21, 2019 15:15    Post subject: Reply with quote
03:00 Daily

Try letting it run for several days and see if it picks up the schedule by the second or third day.
NashBlade
DD-WRT Novice


Joined: 01 Aug 2012
Posts: 26

PostPosted: Wed May 22, 2019 0:51    Post subject: Reply with quote
Quote:
Try letting it run for several days and see if it picks up the schedule by the second or third day.


I'll wait and see if this works. I have a similar daily reboot schedule, but the router's uptime is currently 1 day 19 hours.
D3m0n1q_733rz
DD-WRT Novice


Joined: 08 Nov 2014
Posts: 32

PostPosted: Thu May 23, 2019 12:36    Post subject: Reply with quote
Just tossing this out, but have you checked if the time is set in your router? If not, please ensure that you have a time server set for use. I recommend utilizing time.nist.gov as it's the main server for NIST and will automatically balance the load of the NIST servers by redirecting the query to a server with lower utilization.
If your time isn't set, the schedules won't work. First thing I could think of.
rkwood
DD-WRT Novice


Joined: 05 Apr 2018
Posts: 19

PostPosted: Thu May 23, 2019 15:21    Post subject: Reply with quote
One more thing... Did you flash the new DD-WRT firmware and keep your old settings? If so, try changing the time schedule for the automatic reboot, save settings, apply, then change them back to what you ultimately want, save, apply and reboot the router. Sometimes the old settings in NVRAM don't migrate properly after a DD-WRT upgrade.
community
DD-WRT Novice


Joined: 04 Feb 2018
Posts: 10

PostPosted: Thu May 23, 2019 22:08    Post subject: Reply with quote
Alright boss.i have schedule to every Monday at 3.15am.
Thank you so much
rkwood
DD-WRT Novice


Joined: 05 Apr 2018
Posts: 19

PostPosted: Mon May 27, 2019 15:51    Post subject: Reply with quote
Well? Did it work? Curious minds need to know...
NashBlade
DD-WRT Novice


Joined: 01 Aug 2012
Posts: 26

PostPosted: Mon May 27, 2019 16:04    Post subject: Reply with quote
Changing the time and applying the changes worked.
community
DD-WRT Novice


Joined: 04 Feb 2018
Posts: 10

PostPosted: Mon May 27, 2019 17:13    Post subject: Reply with quote
It worked!!!Thank you
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 1174
Location: Indiana

PostPosted: Mon May 27, 2019 17:39    Post subject: Reply with quote
FWIW, There is also the reboot script which can be applied at startup.
Code:
echo "#!/bin/sh" > /tmp/restart_router
echo "startservice run_rc_shutdown; /sbin/reboot" >> /tmp/restart_router
chmod a+x /tmp/restart_router
echo "25 3 */3 * * root /tmp/restart_router" > /tmp/cron.d/restartrouter

This will restart every 3rd day at 3:25.
Change to your liking.

_________________
SUPPORTED DEVICES -- DON'T USE ROUTER DATABASE!
--IMPORTANT UPGRADE INFORMATION--Stubby DoT
Qualcomm-Atheros:
R7800 x2 kongat & BS WDS AP & Sta- R7500V2 BS std WDS STA- WNDR3700v4 BS std WDS STA- Nanostation M2 AirOS- LocoM2 AirOS
Broadcom:
R6200v2 kongac WLAN Repeater Archer C9 v1 OEM WAP

DDWRT Policy Based Routing guide by egc
giles02134
DD-WRT User


Joined: 25 Feb 2007
Posts: 117

PostPosted: Sat Jun 01, 2019 10:33    Post subject: Worked once, but... Reply with quote
The Scheduled Reboot worked the first night after I'd updated to R39884 (20190530), but isn't working now.

My recollection is that this has been an issue that's come and gone over various releases. Rather than mess with it, I've added the "Reboot" script under Administration/Commands.

_________________
Router: Linksys WRT1900ACSv2
Modem: Arris Surfboard SB6141
DD-WRT v3.0-r41218 std (10/1/19)
ISP: RCN
NAS: ReadyNas314
giles02134
DD-WRT User


Joined: 25 Feb 2007
Posts: 117

PostPosted: Sun Jun 02, 2019 10:14    Post subject: Reply with quote
After I couldn't get the scheduled reboot to work by checking the box in the Administration/Keep Alive tab, I UNchecked that box, and put the following script into the Adminstration/Commands "Startup" section:
Quote:
echo "#!/bin/sh" > /tmp/restart_router
echo "startservice run_rc_shutdown; /sbin/reboot" >> /tmp/restart_router
chmod a+x /tmp/restart_router
echo "0 3 * * * root /tmp/restart_router" > /tmp/cron.d/restartrouter


Unfortunately, this isn't working either. I've checked to see that the script is indeed getting written (it is), and the entry has been made in /tmp/cron.d (it's there).

Any thoughts on this? I've found, at least with older releases, that without a regular reboot, dnsmasq stops working reliably.

Thanks!

_________________
Router: Linksys WRT1900ACSv2
Modem: Arris Surfboard SB6141
DD-WRT v3.0-r41218 std (10/1/19)
ISP: RCN
NAS: ReadyNas314
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 1174
Location: Indiana

PostPosted: Sun Jun 02, 2019 15:39    Post subject: Reply with quote
I have not used the script in a long time and I find nothing that says it has to be
but I did have cron enabled on Administration->Management tab with other tasks.

Entirely different router though.
Scheduled Reboot wiki

_________________
SUPPORTED DEVICES -- DON'T USE ROUTER DATABASE!
--IMPORTANT UPGRADE INFORMATION--Stubby DoT
Qualcomm-Atheros:
R7800 x2 kongat & BS WDS AP & Sta- R7500V2 BS std WDS STA- WNDR3700v4 BS std WDS STA- Nanostation M2 AirOS- LocoM2 AirOS
Broadcom:
R6200v2 kongac WLAN Repeater Archer C9 v1 OEM WAP

DDWRT Policy Based Routing guide by egc
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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 cannot attach files in this forum
You cannot download files in this forum