![]() |
Tuesday, January 06, 2009 | ||||
|
|||||
|
Abstract RunUrl is a command line utility to issue network requests on remote web servers. The program was designed to retrieve a web page or graphic from a remote site and optionally store it on the local file system. Purpose / Problem Solved We have several web applications written in different languages (ASP, JSP, PHP) and platforms (Windows, Linux) that contain maintenance scripts that the user can run via their web browser. We needed a way run these web scripts unattended via a scheduled process (Windows schedule service, Linux cron job). By using RunUrl, we are able to "run" the web page scripts without writing extra platform specific code (Windows Scripting Host, IE automation) to perform existing functionality.
Usage:
Where: RunUrl creates a log file named "RunUrl.log" that logs the time, URL and content size of each request.
Examples: |
Copyright (c) 2009 by MicroWeb. All Rights Reserved
www.microwww.com