Change date format to timestamp
This commit is contained in:
parent
60a7b1b22b
commit
76ad88aad8
|
@ -38,7 +38,7 @@ fatal() { echo -e "${RED}[FATAL] $* ${NC}" | logger --tag "${SCRIPTNAME}" --
|
|||
|
||||
## Define variables ###################################
|
||||
info "Define variables"
|
||||
DATE=$(date '+%Y-%m-%d')
|
||||
DATE=$(date '+%s')
|
||||
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
|
|
Loading…
Reference in New Issue