show exit time in shell script

This commit is contained in:
schrom01 2023-09-26 14:49:39 +02:00
parent d8f6eb147a
commit 0de1f0dab4
1 changed files with 7 additions and 1 deletions

View File

@ -12,4 +12,10 @@ cd domains
cd zefix.silias.ch
cd public_html
/usr/bin/php taskExecuter.php
echo "Script is Ending $0"
echo "Script is Ending $0"
# Get the current date and time in a specific format
formatted_time=$(date +"%Y-%m-%d %H:%M:%S")
# Echo the formatted time
echo "Current time: $formatted_time"