|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Creating Server Restart Batch
Can anyone help me on making a batch file that basicly will turn apache off, then turn it back on. This will be a good tool, so I can have it scheduled to run throughout the day, since apache allways seems to stop responding after so many hours of being on. I dont really know much about batch files so I kind of need some help...
Thanks |
|
#2
|
|||
|
|||
|
RE: Creating Server Restart Batch
you want to restart the apache, it's just one line, but it depends on what system you are using (and where apache is installed).
usualy something like /etc/init.d/apache restart or httpd restart or even apachectl restart you can just put that in your cron (as root) // btw, this is server administration.. |
|
#3
|
|||
|
|||
|
Message Moved
Thread moved from 'General Chat' to 'Server Administration' by zombie.
Reason: |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Creating Server Restart Batch |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|