load a php page with a cron job

Posted by s2xi on Server Fault See other posts from Server Fault or by s2xi
Published on 2011-09-09T07:12:23Z Indexed on 2012/04/11 5:32 UTC
Read the original article Hit count: 540

Filed under:
|
|

I am using a cron job to reload my httpd service after a subdomain is created. I have the problem that when the reload happens the page that registers the user throws a server error.

I was wondering if I could go around this by having another cron task.

So my logic would be:

httpd reload after a .conf file is created then take the user back to the DocumentRoot of the main page.

So in usage it would be:

a user registers, then is automatically taken back to domain.com

© Server Fault or respective owner

Related posts about php

Related posts about cron