Added date display in wgetauto cronlog.

This commit is contained in:
Christian P. MOMON 2019-01-29 17:19:34 +01:00
parent 9168091a62
commit 0ca3ad9708
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ capture()
currentDate="$(date '+%Y-%m-%d-%Hh%M')"
echo "============ $(date) ============"
echo "Capture launching…"
wget https://icecast.libre-a-toi.org:8444/voixdulat_ogg -o log -O "$targetDirectory/output-$currentDate" &
echo "Capture launched."