L lkbryant Verified User Joined Aug 16, 2005 Messages 283 Apr 13, 2008 #1 hi da is making the server very slow at every 1am due to the tally script. Is anyway possible to make this run without affecting too much on the server performance?
hi da is making the server very slow at every 1am due to the tally script. Is anyway possible to make this run without affecting too much on the server performance?
DirectAdmin Support Administrator Staff member Joined Feb 27, 2003 Messages 8,469 Apr 22, 2008 #2 If you wanted to slow down the dataskq, edit: /etc/cron.d/directadmin_cron (or /etc/crontab, depending on your OS) change: Code: * * * * * root /usr/local/directadmin/dataskq to be Code: * * * * * root nice -n 19 /usr/local/directadmin/dataskq Then reload/restart cron/crond. John
If you wanted to slow down the dataskq, edit: /etc/cron.d/directadmin_cron (or /etc/crontab, depending on your OS) change: Code: * * * * * root /usr/local/directadmin/dataskq to be Code: * * * * * root nice -n 19 /usr/local/directadmin/dataskq Then reload/restart cron/crond. John
L lkbryant Verified User Joined Aug 16, 2005 Messages 283 Apr 22, 2008 #3 Thanks ! will try it out tonite and see how it goes =D