Advanced scheduler - using batch files.

thekonfuser

Newbie
Messages
19
Location
NA
ISP
MTNL Triband
Dont quite know if anyone has posted anything similar to this before. But anyways, here goes:

Since the time I changed to the 849NU plan, I was looking for an application or some kind of a scheduler which will help me dial a connection, start applications, and take care of unplanned disconnections. I searched all over the internet but didn't find a suitable application. I did come across bits and pieces of applications which took care of almost everything, but they all were out of sync.

Fed up with them, I decided to create something on my own. Decided to handle everything with batch files. I am sharing these with you since I have had immense success using them. I have used these batch files to download total 16 GB in just 3 days (have a premium link-removed account too :thumbsup: ). With these set of batch files, you'll be able to take care of the following:
[*]Check ADSL modem status before dialing a connection.
[*]Will dis-connect and re-dial a connection if the modem is online (this will make sure your download session starts at a proper time and not before 12).
[*]Will redial the connection n number of times, where n is a configurable number.
[*]Will reboot the modem in case it fails to setup a connection after redialing n number of times.
[*]Will reboot the machine if it is still found to be offline (after all its a windows machine, reboot does solve connections problem sometimes :P).
[*]Will NOT reboot the machine if already rebooted using the batch file.
[*]Check if the machine is indeed online.
[*]Start applications if the machine is online.
[*]Will verify that the applications are indeed running and will start them if found to be NOT running.
[*]Will periodically (every 30 minutes; can be configured) check for connectivity and will re-connect if found to be offline.
[*]Will restart applications if found to be not running.
[*]Will disconnect the connection and close the applications at a configured time.
[/list]Oh yes...and it will log its every step in separate log files with proper date and time. More features will be added in these files over time.

Something which you must know. I had to configure the download manager (flashget) and utorrent to start downloading only after 12:15. Download links and torrent files were added before hand.

You will need to modify the three batch files mentioning your connection name, username and password for MTNL connection. Let me know in case you need any help configuring your machine. The zip file does contain a readme file and a video file (video.exe) which explains how to configure the system.

Enjoy:

h**p://link-removed.com/files/98956471/AutoDownloader.zip

By the way...suggestions on improving the batch files further are always welcomed.
 
I found this cool tool that helps a lot specially with complex batch files. It's called 'Running Steps'. It has a code analyzer that gives you errors and warnings (places where things might go wrong at execution time). Plus it lets you step through your code, place breakpoints, change variables, etc. A full blown debugger for batch files. We ran our office batch files through it and found some interesting flaws. You can download a trial to check it out from Home.
 
/members/giskier/
Welcome to Broadbandforum.in.
Thanks for the interesting link, and I have forwarded it to some pro's!
Me? I only watch the "batch" files working ! Have a nice day.
 
Back