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

View File

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