show exit time in shell script
This commit is contained in:
+7
-1
@@ -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"
|
||||
Reference in New Issue
Block a user