diff --git a/README.md b/README.md index 452a4cc2..717cdda1 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,15 @@ Script that can: Update Truenas SCALE applications, Mount and unmount PVC storag - -p | Prune unused/old docker images" - ### Examples -- bash heavy_script.sh -b 14 -i portainer -i arch -i sonarr -i radarr -t 600 -sUp" -- bash /mnt/tank/scripts/heavy_script.sh -t 8812 -m" +#### bash heavy_script.sh -b 14 -i portainer -i arch -i sonarr -i radarr -t 600 -sup +- This is your typical cron job implementation. +- -b is set to 14. Up to 14 snapshots of your ix-applications dataset will be saved +- -i is set to ignore portainer, arch, sonarr, and radarr. These applications will be ignored when it comes to updates. +- -t I set it to 600 seconds, this means the script will wait 600 seconds for the application to become ACTIVE before timing out and continuing to a different application. +- -s will just sync the repositories, ensuring you are downloading the latest updates +- -u update applications as long as the major version has absolutely no change, if it does have a change it will ask the user to update manually. +- -p Prune docker images. + +- bash /mnt/tank/scripts/heavy_script.sh -t 8812 -m +- bash /mnt/tank/scripts/heavy_script/heavy_script.sh -r