# Scheduled task for reboot

**URL:** <https://forum.openwrt.org/t/scheduled-task-for-reboot/90031>\
**Category:** Installing and Using OpenWrt\
**Created:** [March 1, 2021, 12:27pm UTC](https://forum.openwrt.org/t/scheduled-task-for-reboot/90031 "2021-03-01T12:27:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![0penWRT](https://forum.openwrt.org/letter_avatar/0penwrt/32/6_449c533f586939b6e5f246632a46421f.png) [@0penWRT](https://forum.openwrt.org/u/0penWRT)\
**Post date:** [March 1, 2021, 12:27pm UTC](https://forum.openwrt.org/t/scheduled-task-for-reboot/90031/1 "2021-03-01T12:27:53Z")

</div>

i want to set scheduled task for reboot 3 routers with openwrt, first is wr841hpv3 second wr941v5.1 and third wa901v4 for first i would set every 30 days for second every 20 days and third every 30 days what ic crone cod can you tell me for 20 ? and for 30 days?

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [March 1, 2021, 12:36pm UTC](https://forum.openwrt.org/t/scheduled-task-for-reboot/90031/2 "2021-03-01T12:36:32Z")

</div>

> [@0penWRT](#):
>
> what ic crone cod can you tell me

[https://openwrt.org/docs/guide-user/base-system/cron#periodic\_reboot](https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot)

---

<div class="post-metadata">

**Author:** ![0penWRT](https://forum.openwrt.org/letter_avatar/0penwrt/32/6_449c533f586939b6e5f246632a46421f.png) [@0penWRT](https://forum.openwrt.org/u/0penWRT)\
**Post date:** [March 1, 2021, 12:47pm UTC](https://forum.openwrt.org/t/scheduled-task-for-reboot/90031/3 "2021-03-01T12:47:41Z")

</div>

can you tell me more specific please

---

<div class="post-metadata">

**Author:** ![iplaywithtoys](https://forum.openwrt.org/user_avatar/forum.openwrt.org/iplaywithtoys/32/6116_2.png) [@iplaywithtoys](https://forum.openwrt.org/u/iplaywithtoys)\
**Post date:** [March 1, 2021, 12:49pm UTC](https://forum.openwrt.org/t/scheduled-task-for-reboot/90031/4 "2021-03-01T12:49:17Z")

</div>

That page is specific. It explains how to use cron and what the syntax is.

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [March 1, 2021, 1:24pm UTC](https://forum.openwrt.org/t/scheduled-task-for-reboot/90031/6 "2021-03-01T13:24:09Z")

</div>

> [@0penWRT](#):
>
> tell me more specific

That page gives pretty detailed idea from OpenWrt perspective, and for generic cron advice regarding the crontab file format you can read e.g.  
[https://linux.die.net/man/5/crontab](https://linux.die.net/man/5/crontab)

Or search the internet for crontab advice.
