![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK2kOkAG7etKcjCTESBiAOESIfludncqfL35c6Fb3Z9y40iLc5_pGmiHHif31SbUIbAkBrt7cSbHWsyvdxHvzIs39oBYCcPZl_7xNhgEKVPpj1HqPr2zRFCWc3AdOU2CuFfDTJkXTpGqiBRA7MSs6k5knRGh99vDyfPiu7pFoZ-rTZjypks1uH7h5Y/s320/20220127_61f2676ec8e9b.webp)
SSH to the Openwrt router
Enter following command to edit the CRON job
crontab -e
Add the following line there and save the file(press ESCAPE and then :wq).
0 8,20 * * * sleep 70 && touch /etc/banner && reboot
Now reboot the cron service
/etc/init.d/cron restart
This will reboot the router everyday at 08:00 AM and 08:00 PM
No comments:
Post a Comment
Be the first to comment on this post.