I'm not sure this is possible, so I thought I'd ask the experts.
I've got a bunch of PHP code that sits behind Apache and responds to requests. It works great.
I now want to run some PHP code that doesn't respond to requests, but rather runs independantly. For instance, when Apache starts, it would be great to have it kick off some function I've registered. This function wouldn't be in reaction to a requst, but rather some general housekeeping taks. I know that I could do these things after receiving my first request, but that really won't work for the housekeeping tasks I need to do.
Any ideas on how something like this could be done?