cr_check_orphaned_files (private)

 cr_check_orphaned_files [ -delete ] [ -mtime mtime ]

Defined in packages/acs-content-repository/tcl/acs-content-repository-procs.tcl

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
(boolean) (optional)
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):
%3 cr_count_file_entries cr_count_file_entries (private) cr_check_orphaned_files cr_check_orphaned_files cr_check_orphaned_files->cr_count_file_entries

Testcases:
No testcase defined.
[ show source ]
Show another procedure: