Small python script for rebooting the router via cron and catch a new IP.
Tested in Comtrend VR-3025u
Example output:
BCM96368 Broadband Router Login: username Password:
reboot
The system shell is being reset. Please wait...
exit
Bye bye. Have a nice day!!!