cr_check_orphaned_files (private, deprecated)
cr_check_orphaned_files [ -delete ] [ -mtime mtime ]
Defined in packages/acs-content-repository/tcl/acs-content-repository-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Check for orphaned files in the content repository directory, and delete such files if required. Orphaned files might be created, when files are added to the content repository, but the transaction is being aborted. This function is intended to be used for one-time maintenance operations. Starting with 5.8.1, OpenACS contains support for handling orphaned files much more efficiently via a transaction log that is checked via cr_cleanup_orphaned_files in cr_delete_scheduled_files.
- Switches:
- -delete (optional, boolean)
- delete the orphaned files
- -mtime (optional)
- same semantics as mtime in the file command
- Author:
- gustaf.neumann@wu-wien.ac.at
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.