Go Back   AYKsolutions Forum > Documentation > Knowledgebase > Control Panels > Cpanel/WHM > Scripts & MySQL
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 11-26-2007
Artyom Artyom is offline
 
Join Date: Dec 2006
Posts: 423
Artyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond repute
Send a message via ICQ to Artyom Send a message via AIM to Artyom Send a message via MSN to Artyom Send a message via Yahoo to Artyom
Default How can I run /scripts/pkgaccts if my load is high?

If you try to run /scripts/pkgacct through shell and your load is not nominal, the script will stall. To bypass this and get it running you can use:

/usr/local/cpanel/bin/cpuwatch xx.x

So, if I want to backup an account with username "ayksolutions" to the directory /backup/cpbackup/daily and do this if the load is 30 or below, I would run the following command from prompt as root:

/usr/local/cpanel/bin/cpuwatch 30.0 /scripts/pkgacct ayksolutions /backup/cpbackup/daily
__________________
www.AYKsolutions.com
From Shared to Dedicated
Professional. Painless. Polite.
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:31 PM.

 
myAYK | Dedicated Servers | Reseller | Shared | Forums
Terms of Service | Privacy Policy | © 2004 AYKsolutions, LLC. All Rights Reserved.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.