|
|
@ -265,9 +265,19 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Depending on whether the clock uses summer or wintertime, the date string length
|
|
|
|
|
|
|
|
# will differ by one (CEST vs CET).
|
|
|
|
|
|
|
|
# Just to be neat, we will take this into consideration when constructing the
|
|
|
|
|
|
|
|
# "job completed" block below.
|
|
|
|
|
|
|
|
cetcest=$(date +%Z)
|
|
|
|
|
|
|
|
|
|
|
|
echo "-------------------------------------"
|
|
|
|
echo "-------------------------------------"
|
|
|
|
echo "=== chertex.sh completed ==="
|
|
|
|
echo "=== chertex.sh completed ==="
|
|
|
|
echo "=== $(date) ==="
|
|
|
|
if [[ $cetcest == "CET" ]]; then
|
|
|
|
|
|
|
|
echo "=== $(date) ==="
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "=== $(date) ==="
|
|
|
|
|
|
|
|
fi
|
|
|
|
echo "-------------------------------------"
|
|
|
|
echo "-------------------------------------"
|
|
|
|
simpledelay.sh 3
|
|
|
|
simpledelay.sh 3
|
|
|
|
|
|
|
|
|
|
|
|