Change frequency for chkservd

Here you can find tutorials and notes for server-side maintenance/configuration

Change frequency for chkservd

Postby lik » Fri Nov 06, 2009 3:08 pm

You can change frequency for native cPanel service check daemon (chkservd) from default value "every 5 minutes" to desired one:
edit /usr/local/cpanel/libexec/chkservd:
Code: Select all
vi /usr/local/cpanel/libexec/chkservd

Search for the following line:
Code: Select all
sleep(500);

500 is for 8 minutes 20 seconds
And change to desired frequency.
Then restart chkservd service:
Code: Select all
/etc/init.d/chkservd restart
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron