# Why if I will disable internet connection on my router and reboot it, it shows incorrect time (0:00)?

**URL:** <https://forum.gl-inet.com/t/why-if-i-will-disable-internet-connection-on-my-router-and-reboot-it-it-shows-incorrect-time-0-00/42447>\
**Category:** Router\
**Created:** [May 18, 2024, 10:25pm UTC](https://forum.gl-inet.com/t/why-if-i-will-disable-internet-connection-on-my-router-and-reboot-it-it-shows-incorrect-time-0-00/42447 "2024-05-18T22:25:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eric](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/eric/32/23373_2.png) [@eric](https://forum.gl-inet.com/u/eric)\
**Post date:** [May 19, 2024, 2:37am UTC](https://forum.gl-inet.com/t/why-if-i-will-disable-internet-connection-on-my-router-and-reboot-it-it-shows-incorrect-time-0-00/42447/4 "2024-05-19T02:37:12Z")

</div>

I reboot one of my ar300m routers, that is being used as a VPN server, daily using something similar to this:

```
30 10 * * * sleep 70 && touch /etc/banner && sync && reboot

```

The startup time that the router starts with, changes everyday to the timestamp I set on the file /etc/banner using the touch command. The _sleep 70 && touch /etc/banner_ is to make sure the router time is set to be after the reboot time, or it is possible to get the router stuck in a reboot loop.

See:

> [@Nightly Reboot of GL-AR750?](https://forum.gl-inet.com/t/nightly-reboot-of-gl-ar750/10855/2):
>
> You can schedule tasks with cron: Specifically: Reboot at 4:30am every day Note: To avoid infinite reboot loop, wait 70 seconds and touch a file in /etc so clock will be set properly to 4:31 on reboot before cron starts. 30 4 \* \* \* sleep 70 && touch /etc/banner && reboot So from gl-inet web interface go: More settings \> advanced \> system \> scheduled tasks Howevre, you have to first ‘restart’ the Cron service to make your edits stick by visiting: More settings \> advanced \> sys…

Once the WAN comes up, the time on the router jumps forward to the correct time.

---

_[View the full topic](https://forum.gl-inet.com/t/why-if-i-will-disable-internet-connection-on-my-router-and-reboot-it-it-shows-incorrect-time-0-00/42447)._
