How do I clear up orphaned work sessions from the work folder on the server?
WINDOWS
There is a utility called "cleanwork" in all recent versions of Altair SLC that can be used to help with this problem.
It needs to be run from the command line on the Altair SLC server machine (Windows).
You can find it in the Altair SLC "bin" folder.
Type "cleanwork \path\to\work\folder" and the utility will search the specified folder for orphaned Altair SLC session folders and will delete them if it has permission to do so.
You can dry run the utility by including -n on the command line (use this in advance to see what might be deleted but without deleting anything).
It is also possible to use Windows task scheduler to arrange for cleanwork to be run regularly (each week perhaps).
The cleanwork utility on Windows has the -f, -v and -n switches:
-f force do the deletion of all directories that have been identified as being possibly suitable for deletion
-v verbose produce loads of output as the program runs to help the reader understand what is going on and why directories are selected and how they have been classified - why they have not been removed or have been removed
-n list create only a list of those directories that would have been deleted if the -n switch was not present.
LINUX
There is a utility called "cleanwork" in all recent versions of Altair SLC that can be used to help with this problem.
It needs to be run from the command line on the Altair SLC server machine (Linux).
You can find it in the Altair SLC "bin" directory.
Type "cleanwork /path/to/work/directory" and the utility will search the specified folder for orphaned Altair SLC session folders and will delete them if it has permission to do so.
You can dry run the utility by including -n on the command line (use this in advance to see what might be deleted but without deleting anything).
It is also possible to use the Linux crontab system to arrange for cleanwork to be run regularly (each week perhaps).