Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Age, in days, of content to purge from users’ File Manager Trash

Discussion in 'General Discussion' started by sahostking, Dec 1, 2016.

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    314
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    What do I set this to? If I set it to 7 does it clean it every 7 days only? If I set it to 0 will it clear it each day?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @sahostking,

    The value entered for this setting corresponds with the age of the file. For instance, if you enter "7", files seven days old or older deleted via File Manager and existing in a user's .trash directory are removed during the daily upcp run. A value of 0 configures the server to purge all files from every user's .trash folder, regardless of age. The following script is available if you want to purge the files manually:

    Code:
    /usr/local/cpanel/bin/empty_user_trash
    This option is documented at:

    Tweak Settings - System - Documentation - cPanel Documentation

    Thank you.
     
Loading...

Share This Page