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):
%3 ad_log_deprecated ad_log_deprecated (public) cr_count_file_entries cr_count_file_entries (private) util::which util::which (public) cr_check_orphaned_files cr_check_orphaned_files cr_check_orphaned_files->ad_log_deprecated cr_check_orphaned_files->cr_count_file_entries cr_check_orphaned_files->util::which

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