This will help you reboot your adsl modem or router..Mtnl users can use this to take advantage of the 2-8am free downloading..Just make sure you run this script at 2:10am and 7:50am..the process is very simple.
Firstly, Download the telnet scripting tool from HERE
Extract the zip file and place it in a folder say tst10 in C drive.. so the location of the files you extracted should be in C:\tst10 ..Now create a new text file(*.txt) in notepad and insert the following lines in it..

USE THIS FOR HUAWEI MT800,880 ETC

192.168.1.1
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT ">"
SEND "system restart\m"
WAIT ">"

USE THIS FOR HUAWEI MT882

192.168.1.1 23
WAIT "login"
SEND "root\m"
WAIT "Password"
SEND "admin\m"
WAIT ">"
SEND "shell\m"
WAIT "#"
SEND "reboot\m"
WAIT ""


USE THIS FOR UT300R2U

192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "\madmin\m"
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT
SEND "reboot\m"
WAIT

USE THIS FOR SIEMENS sl2_141

192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "\madmin\m"
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT
SEND "13\m"
WAIT
SEND "13\m"
WAIT
SEND "1\m"
WAIT
SEND "1\m"
WAIT
SEND "exit\m"
WAIT
SEND "exit\m"

NOTE: above script is written considering that your modem/router ip address is 192.168.1.1 and username and password is admin.These are default values, incase you have changed them, please change it in the script also.
Save this to a file say script.txt so script.txt should be in C:\tst10 .. Now create a batch file(*.bat) in notepad and enter the following lines

cd c:\tst10
tst10.exe /r:script.txt

Let it be saved as restart.bat .To save it as a BATCH file.. click on file->save as and in the file name type "restart.bat" including the quotes..Place restart.bat in C:\tst10 .. Now go to control panel and go to schedule tasks.. and add this batch file (restart.bat) to run at 2:10am and 7:50am respectively..That is it you are done.

NOTE:Incase you have Huawei or UT300R2U use the appropriate scripts..In case you have any other modem better to use the Huawei script and edit it a bit..If you notice in the Huawei script .. the command to restart is "system restart" and in the UT300R2U the command is "reboot"..So the command can vary from model to model.. Incase you have any other model please google it and find out the reboot command and replace it accordingly!!