Allowing completed projects and tasks to remain in the system after they have been completed can be useful for project managers. However, they can consume a large amount of database space and, after a while, they also lose their usefulness. By default, the Projects Cleaner removes any project whose tasks were completed at least 15 days ago. It then goes through all the tasks in the system and removes the ones that were completed at least 15 days ago. You can configure the schedule of the Projects Cleaner according to your needs.
Procedure
- Go to
- On the Garbage Collection: Projects Cleaner page, under Cleaner Settings, do the following:
- If you want the Projects Cleaner to run only for a certain period of time, select the Limit run time duration for the cleaner check box, and then specify the maximum run time for the cleaner (in hours and minutes).
Note: This is particularly useful if experience shows you that cleaning up projects takes a long time or interferes with system performance. If the cleaner cannot clean up all the projects in one run, it will pick up where it left off the next time it runs.
- In the Number of days project must be complete before deletion box, specify the number of days that you want completed projects to be stored in the database.
Note: The minimum value that you must specify for the Projects Cleaner to run is 1. This means that the Projects Cleaner can collect projects which have been completed for at least one day. If the value is 0, the Projects Cleaner will not run.
- In the Number of days tasks associated with incomplete projects must be complete before deletion box, specify the number of days that you want completed tasks to be stored in the database, even if their corresponding project has not been completed.
Note: WorldServer only removes tasks that have been excluded from cost calculation. The tasks that are selected to be included in cost calculation are not deleted until the project itself is cleaned up through garbage collection.
- Under Cleaner Schedule, do one of the following:
- Select Run with General Cleaner to use the same schedule both for this cleaner and for the General Cleaner.
- Select Set custom dates and times to specify a different schedule for this cleaner. Under Date(s), select whether you want the cleaner to run either in certain days of the week or in a specific date of a specific month, and then select the dates and times.
- Select Save.