Clean temporary file systems
Temporary file systems can be cleaned automatically at scheduled intervals.
Introduction
There are two ways to clean the temporary file systems from possible leftovers: automatically at scheduled times with an Autoexecute Server Module (admin.cleanup.cleanup-temp-filesystem) and manually as a Server Action (admin.cleanup.cleanup-temp-filesystem-action) from the cogwheel menu of the censhare clients. The automatic option is activated by default and set to perform each day at 05:30 am.
The Modules "Cleanup Temporary Filesystem" and "Cleanup Temporary Filesystem (automatic)" clean only the filesystem of type "temporary" (usually that's the asset-temp directory), no other temp file systems. Only the root level of this filesystem is cleaned, subfolders are ignored.
Set up automatic cleanup
Enable manual cleanup
- Launch the censhare Admin-Client.
- Open "Configuration/Modules/Administration/Cleanup" folder.
- Double click "Cleanup Temporary Filesystem".
- Mark the "Enabled" checkbox.
- Restrict the server action to a server, to roles, permission keys and client types as desired, following the standard procedures for Server Action Modules.
- Click the "OK" button to save the changes.
- Click "Update Server Configuration" button on the top of the Admin Client.
Perform manual cleanup
- Launch the censhare Admin-Client.
- Click "Server actions" button.
- Choose the "Cleanup Temporary Filesystem" menu item.