Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Clearing the recycle bin automatically in SafeSync for Enterprise (SSFE) 2.1

    • Updated:
    • 29 May 2014
    • Product/Version:
    • SafeSync for Enterprise 2.1
    • Platform:
    • Ubuntu 10.04 64-bit
Summary
You want to know how to automatically empty the recycle bin in SSFE 2.1.
Details
Public
Important:This procedure requires at least SSFE 2.1 Patch 1 Build 1277 is installed on the server. To download the SSFE 2.1 Patch 1 installer, go to the Download Center.
Some users delete files from their Personal or Team folders but fail to empty the recycle bin. Not clearing the recycle bin of old, deleted, and unnecessary files will result in large disk usage.
To clean-up the SSFE server of old files in the Recycle Bin:
  1. Log in to the SSFE server command line interface.
  2. Switch to the root account using the "sudo" command:
    safesync@appliance1:~$ sudo –s
  3. Execute the command:
    root@appliance1:~# /opt/TrendMicro/OSDP/Bin/cron/trimUserData.pl recyclebin -maxday X
    Where X is any number. The command will delete all files in the Recycle Bin older than X days.
  4. To automate the process, add the command as a cron job.
    1. Log in to the SSFE server command line interface.
    2. Switch to the root account using the "sudo" command:
      safesync@appliance1:~$ sudo -sc.
    3. Edit crontab with the command “crontab –e”.
    4. Press Insert on keyboard then add the line below at the bottom of the crontab file.
      30    1    *    *    *    root (/opt/TrendMicro/OSDP/Bin/cron/trimUserData.pl recyclebin -maxday X)
      Where 30 is the minute and 1 is the hour. This means the command will run at 1:30AM every day to clean-up the Recycle Bin.
    5. Save and close the file by pressing Esc on the keyboard.
Premium
Internal
Rating:
Category:
Configure
Solution Id:
1103586
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.