sh.zio.backup: prototyping
parent
d10b2719c1
commit
d455e58b1a
|
@ -406,9 +406,9 @@ if [[ -z "$1" || -f "$1" ]]; then
|
|||
invoke_script "$1"
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
backup_end_time=$(( $(date +%s) - $backup_start_time ))
|
||||
backup_end_time_message="Took $(print_time $backup_end_time)."
|
||||
trigger_notify "info" "Backup completed" "$backup_end_time_message"
|
||||
trigger_notify "info" "Backup completed" "Took $(print_time $backup_end_time)"
|
||||
|
||||
say primary "$(repeat "-" 80)"
|
||||
|
||||
|
|
Loading…
Reference in New Issue