Skip to content

Commit

Permalink
add EPOCHSECONDS timestamp too for "how long since" too
Browse files Browse the repository at this point in the history
  • Loading branch information
tjluoma committed Jun 18, 2019
1 parent 29209b5 commit 58be903
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion di-auto.sh
Expand Up @@ -52,7 +52,9 @@ else

function readable_timestamp { strftime "%H:%M on %Y/%m/%d" "$EPOCHSECONDS" }

readable_timestamp >| "$HOME/.di-auto.lastrun.txt"
readable_timestamp >| "$HOME/.di-auto.lastrun.txt"

echo "$EPOCHSECONDS" >>| "$HOME/.di-auto.lastrun.txt"

fi

Expand Down

0 comments on commit 58be903

Please sign in to comment.