This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My DD-WRT router would not reboot reliably except by going through the web interface. | |
# The reboot settings in the UI did not work consistently, and ssh access did not work | |
# reliably either. I was able to figure out the following curl command that makes the | |
# basically presses the Reboot Router button on the Administration->Management screen. | |
# This crontab reboots the router every night at 3:30 am | |
30 3 * * * /usr/bin/curl --referer http://192.168.1.1/Management.asp -d submit_button=Management -d action=Reboot -u admin:password --http1.1 -v http://192.168.1.1/apply.cgi |