Scheduling Connecting And Disconnecting From Your ISP

With many ISPs using PPPoE-based connections, and many ISPs having awkward schemes such as nightunlimited starting at 2 AM, it’s a good idea to schedule your dialling process rather than staying up late at night.

Once connected, your downloads canstart. You can also schedule to connect to VPNs.

First we create a batch file. Start Notepad (or any other text editor). Enter the following:

RASDIAL "connection Name"
"username" "password"

"connection Name" should be your exact connection name(don't write ""). Save the file using a suitable name such as “DIALNET.BAT”.

Now create a schedule by clicking on Scheduled Tasks in the Control Panel. Double-click on Add Scheduled Task. Click Next. Browse and choose the path of the BAT file. Choose the type of frequency you want the task to run at.Next set the time and date. Finally enter the password for the account running the dialler. You can further make changes to the schedule by rightclicking on the newly-created scheduled task and clicking on Properties. So why would you want to make changes? Well, many more settings can be applied, and multiple schedules can be allotted. Say you connect between 12 and 8 AM, and then you want it to connect at 1 PM again. Such options are available only once you’re done adding the schedule through the Wizard.
Similar to scheduling a connection, disconnection can be done in the same manner. Some alterations in the batch file creation are needed. First, create a new text file and enter

RASDIAL "connection Name"

Save the file as a BAT file, for example, “DISC-NET.BAT”. Be sure to enter your exact connection name in place of
"connection Name"(don't write ""). Once again, like the connection schedule, create a schedule in the same manner only this time choose the Disconnecting BAT file.

Share this

Related Posts

Next Post »

Post Your Comments Below: