show exit time in shell script
This commit is contained in:
parent
d8f6eb147a
commit
0de1f0dab4
|
@ -13,3 +13,9 @@ cd zefix.silias.ch
|
|||
cd public_html
|
||||
/usr/bin/php taskExecuter.php
|
||||
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"
|
Loading…
Reference in New Issue