Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

cru enables you to check/add/delete cron job on your Asuswrt Merline Wifi Router. Because Asuswrt does not save all the cron job by the limited storage, you should add cron job at /jfss/scripts/init-start, so the cronjob will be done as designed.




Table of Contents

Basic functions of cron job in Asuswrt Merlin Wifi Router

...

Code Block
vi /jffs/scripts/servicesinit-start


And add your command like below. Below is the case to update DNS every 10mins

...

Reboot Asuswrt every 12 hours

Code Block
cru a ddnsreboot12 "0 */12 * * * /sbin/reboot"


Reboot Asuswrt at 5:30 AM

Code Block
cru a ddnsreboot0530 "30 5 * * * /sbin/reboot"

...