- use crontab -e to define a event every minuter,due to the script was exahust 1 min , so it's mean this log can be ouput every second
- and you can see what you want , just change the listEverySecond.sh , you can easyliy get file info , and something else
- just insert this string :
*/1 * * * * /bin/bash ~/listEverySecond.sh >> cat.log
- just make a test, in your dest dir :
wget -m -p -c http://your.test.domain.name
- log view (In a new terminal window) :
tail -f cat.log