mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 06:03:47 -05:00
updates to totaltime
This commit is contained in:
@@ -356,7 +356,7 @@ function mainScript() {
|
|||||||
|
|
||||||
# Time the script by logging the end time
|
# Time the script by logging the end time
|
||||||
ENDTIME=$(date +"%s")
|
ENDTIME=$(date +"%s")
|
||||||
TOTALTIME=$((${ENDTIME}-${STARTTIME}-20))
|
TOTALTIME=$((${ENDTIME}-${STARTTIME}))
|
||||||
|
|
||||||
# notify with pushover if requested
|
# notify with pushover if requested
|
||||||
if [ "${PUSHOVERNOTIFY}" = "true" ]; then
|
if [ "${PUSHOVERNOTIFY}" = "true" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user