Skip to content

Commit

Permalink
grrr date command
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrummel committed Feb 21, 2013
1 parent b8664df commit 3c08bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/local/bin/watchProtect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ declare -x SCRIPTNAME="${0##*/}"

logtag="${0##*/}"
debug_log="disabled"
logDate=`date +"Y.m.d"`
logDateTime=`date +"Y-m-d_H.M.S"`
logDate=`date +"%Y-%m-%d"`
logDateTime=`date +"%Y-%m-%d_%H.%M.%S"`
log_dir="/Library/Logs/${logtag}"
LogFile="${logtag}-${logDate}.log"

Expand Down

0 comments on commit 3c08bd4

Please sign in to comment.