10 Mar 2008

$$ Scheduling Connecting & Disconnecting From Your ISP $$

Scheduling Connecting & Disconnecting From Your ISP

With many ISPs using PPPoE-based connections, & many ISPs having awkward schemes such as night unlimited 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 can start. 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


should be your exact connection name. 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 & choose the path of the BAT file. Choose the type of frequency you want the task to run at. Next set the time & date. Finally enter the password for the account running the dialer. You can further make changes to the schedule by right-clicking on the newly-created scheduled task & clicking on Properties.

So why would you want to make changes? Well. many more settings can be applied, & multiple schedules can be alloted. Say you connect between 12 AM & 8 AM, & 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 & enter

RASDIAL
/disconnect

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

No comments: