how to creat a conjob to restart apache in every specific times

Filed in Centos 0 comments

in this example I want to show you how you could be able to do so by a sample that would restart apache every 45 miniutes

to acomplish this you should creat a cronjob so you should go to the /var/spool/cron/ and edit the root file that is the root cronjob

then add this line to it

*/45 * * * * /scripts/restartsrv_apache

this will restart apache every 45 miniutes


Related posts:

  1. how to optimize apache?
  2. How to allow just the specific IP Addresses to access ssh
Posted by voshka   @   6 February 2010 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone