1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

update interval 'Disk usage of a domain'

Discussion in 'Plesk for Linux - 8.x and Older' started by nemo, Jan 12, 2006.

  1. nemo

    nemo Guest


    how often is the value 'disk usage' updated in Plesk - I had a customer who complained about that cause he deleted some files and a minute later it still showed the same disk usage as before.

  2. Who-m3

    Who-m3 Guest

    This is taken care of once a day via Crontab. On mine, it runs at about 4am.
  3. PedstersPlanet

    PedstersPlanet Guest

    I must agree, it would be good if it was automatic - like update in realtime, as most hosts do......

    Can we run the statistics program more often instead of once a day?
  4. Whistler

    Whistler Guest

    As default Plesk will only update the information once a day. You can however edit the Server Crontab with the "/usr/local/psa/admin/sbin/statistics >/dev/null 2>&1" line - to run when ever you like.

    Just be aware that it'll take some ressources from the system as it updates a lot of things - I currently run it every 2 hours here.

    (another annoying thing is that Plesk/SW-Soft has combined the mailing of warnings in the same script - so if a user is over trafic/disk limit Plesk will mail a letter every time the statistics file is called. I've reported it a long time ago to Sw-Soft - but nobody there seems to think it's a problem)