B
bttman
Guest
Hi to all.
This is more of a question, then a problem.
I'm using a php that block's client accounts, once they expire, with a crontab, every day.
The php script uses the following shell command: /usr/local/psa/bin/client.sh --off ' client login' and it works great.
The question is, the client.sh in the end, restarts apache right ? if so, apache fails to restart on my box, only by hand with service httpd restart.
Is there a way to avoid client.sh from restarting apache, since, the apache is restarted every 900 secs. ?
PS: also, the /usr/local/psa/bin/client.sh --on ' client login' does not restart apache, any diference from ON to OFF ?
Thanks in advance
This is more of a question, then a problem.
I'm using a php that block's client accounts, once they expire, with a crontab, every day.
The php script uses the following shell command: /usr/local/psa/bin/client.sh --off ' client login' and it works great.
The question is, the client.sh in the end, restarts apache right ? if so, apache fails to restart on my box, only by hand with service httpd restart.
Is there a way to avoid client.sh from restarting apache, since, the apache is restarted every 900 secs. ?
PS: also, the /usr/local/psa/bin/client.sh --on ' client login' does not restart apache, any diference from ON to OFF ?
Thanks in advance