View Single Post
Old 09-03-2002, 06:48 PM   #3 (permalink)
DragonAss
Registered User
 
Join Date: Aug 2002
Location: Pennsylvania USA
Posts: 6
DragonAss is on a distinguished road
Send a message via ICQ to DragonAss

If you have access to cron jobs, would a simple shell script be practical?

Say, something like:


#!/bin/sh

/this/is/job/num1.cgi > /path/to/componentX.html
/this/is/job/num1.php >> /path/to/componentX.html
/this/is/job/num2.cgi >> /path/to/componentX.html
/this/is/job/numX.php >> /path/to/componentX.html

exit(0);


----------

Then just run this shell script as the cron job.

(first line uses only one > to erase the file first
and subsequent lines use two >> for append)

This assumes the componentX.html is on the same machine.
Piping it to another machine is still possible though.

DragonAss is offline   Reply With Quote