FLUID-3360: The Infusion Builder should clean up its temporary data on a periodic basis.

Metadata

Source
FLUID-3360
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Laurel Williams
Reporter
Colin Clark
Created
2009-11-04T18:59:44.000-0500
Updated
2013-04-11T17:43:18.269-0400
Versions
N/A
Fixed Versions
  1. 1.2
Component
  1. Infusion Builder

Description

At the moment, the Infusion Builder doesn't clean up its temporary files. If the server doesn't already clean up /tmp, we should create a script and cron job to do so.

Investigate cleaning up the /tmp directories - expiring the info via nightly cron job.
A good command to do this would be
find /tmp/build/* -type f -cmin +1440 -exec rm -f {} \;
find /tmp/products/* -type f -cmin +1440 -exec rm -f {} \;

Will also need to make sure that the permissions work so that this cron job can delete files created by nobody.

Comments

  • Colin Clark commented 2009-11-04T19:00:35.000-0500

    This issue is a more specific articulation of one of the tasks noted in FLUID-2931.

  • Laurel Williams commented 2009-12-02T13:55:08.000-0500

    A script was created which cleans up temporary files every 24 hours. It needs to be installed as a cron job on the server to work. The script was written to clean up the files on the deploy server, so will need to be altered and installed as a cron job to clean up files on other servers such as the daily build server.

    location of the script is /infusion-builder-secure/scripts/cleanup.sh