cr_delete_scheduled_files (private)

 cr_delete_scheduled_files

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

Tries to delete all the files in cr_files_to_delete. Makes sure file isn't being used by another revision prior to deleting it. Should be scheduled daily. This proc is extremely simple, and does not have any concurrency checks to make sure another version of the proc is running/deleting a file. Will add some concurrency checks to a future revision. Right now go with short and sweet, count on scheduling to prevent conflicts

Partial Call Graph (max 5 caller/called nodes):
%3 cr_cleanup_orphaned_files cr_cleanup_orphaned_files (private) cr_fs_path cr_fs_path (private) db_dml db_dml (public) db_foreach db_foreach (public) db_transaction db_transaction (public) cr_delete_scheduled_files cr_delete_scheduled_files cr_delete_scheduled_files->cr_cleanup_orphaned_files cr_delete_scheduled_files->cr_fs_path cr_delete_scheduled_files->db_dml cr_delete_scheduled_files->db_foreach cr_delete_scheduled_files->db_transaction

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