loop is not running n times shell code example
Example: run a command x number of times linux
## run command 10 times
for i in {1..10}; do commandNameHere; done
## run script 20 times
for i in {1..10}; do /path/to/cache.script.sh; done
## run command 10 times
for i in {1..10}; do commandNameHere; done
## run script 20 times
for i in {1..10}; do /path/to/cache.script.sh; done