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!

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:
    329
    Likes Received:
    3
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice