On 02/04/2009, at 3:34 AM, Mike Cunningham wrote:

Does anyone know if there is a command line way to make an Apache instance start additional CGI jobs, but only on some days?

Not directly but you could use the configuration APIs to dynamically change the Apache configuration. Refer to:

IBM HTTP Server for iSeries Web Programming Guide (rzag3mst,pdf)

I know one solution is to remember to change the Apache config the day before these special days and set it back when the day is over but I know that will be missed at some point so would prefer to write an app that checks the date and starts extra jobs if it is one of these days.

Write code to change the configuration and restart the server. Schedule that for the appropriate days.

Simon Coulter.
FlyByNight Software OS/400, i5/OS Technical Specialists

Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
ASCII Ribbon campaign against HTML E-Mail / \

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.