Skip to content
Snippets Groups Projects
Commit 08472981 authored by david_williams's avatar david_williams
Browse files

improve daily cleanup scripts

parent cdf88301
No related branches found
No related tags found
No related merge requests found
......@@ -246,12 +246,18 @@ echo "INFO: Checking to remove old tmp directories and files."
removeOldDirectoriesAndFiles ${RECOMMENDED_TMP_DIR} 13;
# even one month is a bit "risky" in that some patch builds, for example, may not be ran except
# once every blue moon ... hence pre-reqs will need to be re-fetched.
# once every blue moon ... hence pre-reqs will need to be re-fetched. And, remember, by that time, the
# pre-req might have moved to a different URL, so our build scripts might have to be changed to
# point to 'archive' location.
# TODO: we have some prereqs that can not be retrieved automatically. So, we should have
# an "exclude" list, such as oagis_release_8.0_GA-withSP3.zip, DITA-OT1.2.1_bin-ASL.zip, WSDL_1.1_for%20OAGIS_8.0.zip.
# I don't recall which, but one or more of these have a "license confirmation" screen that prevents
# autodownload so when if/when we want it, we have to get our selves, and copy into prereqs directory.
# And one of those, I think oagis_release? has some write protected files that prevents their deletion,
# once unzipped, so we have tweeked the permissions.
echo "INFO: Checking to remove old pre-req directories and files not access for 1 month."
echo "INFO: Checking to remove old pre-req directories and files not accessed for 1 month."
removeOldDirectoriesAndFiles ${LOCAL_PREREQS_CACHE} 30;
echo "INFO: Checking to remove old pre-req directories and files not accessed for 1 month."
removeOldDirectories ${BASE_BUILDERS} 30;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment