Closed sarahjeansweeney closed 7 years ago
I think this is due to the mods folder being cleaned up before the job is done. I'll look into excluding it from that cleanup process.
Changed to
0 * * * * find /tmp/DRStmp/* -type d -cmin +1440 ! -path "/tmp/DRStmp/xsd*" ! -path "/tmp/DRStmp/mod*" -exec rm -rf {} \; 2>/dev/null
0 * * * * find /tmp/DRStmp/* -type f -cmin +1440 ! -path "/tmp/DRStmp/xsd*" ! -path "/tmp/DRStmp/mod*" -exec rm -rf {} \; 2>/dev/null
Should fix the issue
Dan reported to me that he encountered a system error (“Sorry, you encountered a system error”) when trying to download a MODS export zip. I tried to replicate, but couldn't because the export job failed first.
I'm able to export MODS for other collections, so I suspect this issue is caused by the fact that this particular collection has over 7,714 records: https://repository.library.northeastern.edu/collections/neu:6006