« New & Cool IE Developer Toolbar | New Yahoo Site Explorer and Blog Search »

October 08, 2005

Run WebPosition 4 from the DOS Command Line

Many WebPosition users aren't aware you can actually run missions and publish results directly from the DOS command line.

Although WebPosition provides a built in scheduling tool, there are some advantages of using the DOS command line.

Advantages of running WebPosition 4 at the command line include the ability to use Windows scheduler to schedule missions even when you are not logged into your computer. Also using the command line to schedule missions can provide easier administration when managing multiple missions. You can quickly add missions to the schedule by adding a single line to text to the schedule file without opening WebPosition at all!

Here's how to do it:

  1. Create a file in your WebPosition 4 installation folder called schedule.bat. Open the file and enter the missions you would like to be part of the schedule.
  2. Add a line for each mission as indicated below. In the example below, just replace "zedesco_com.mis" with the mission file name you would like to include. (You may add multiple missions by simply adding a new line for each mission you would like to include in the schedule).

Webposition4.exe START(zedesco_com.mis) HIDELOG CLOSE MINIMIZE

  • The HIDELOG parameter prevents the display of the log file upon mission completion. This is desirable since the missions in the file will be scheduled and more than likely nobody will be around to view the log file when the mission is run.
  • The CLOSE parameter simply tells WebPosition to shutdown when the mission completes the run.
  • The MINIMIZE parameter tells WebPosition to operate in minimized mode when running.

The next step is to schedule the mission using Windows scheduler. To setup the schedule, simply navigate to "Programs > Accessories > System Tools > Scheduled Tasks" from the Windows Start menu. Add a new scheduled task following the instructions given in the scheduled task setup wizard and selecting the schedule.bat file you created as the scheduled file to run.

That's all there is to it! Your scheduled missions can now be managed within a single file.

Digg.com    del.icio.us    furl.net    newsvine.com    reddit.com    Yahoo! Myweb   ← What is this?

Read more articles in the WebPosition topic category.

« Previous | Next »