Added date display in wgetauto cronlog.
This commit is contained in:
parent
9168091a62
commit
0ca3ad9708
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user