Alte Logs löschen
This commit is contained in:
1 parent
3e21cfa0fc
commit
ee37a9232a
2 files changed
+20
-3
No files matched your search
@@ -3,7 +3,7 @@
|
||||
# entrypoint for all actions
|
||||
#
|
||||
|
||||
VER="2.0.0"
|
||||
VER="2.0.1"
|
||||
|
||||
show_help() {
|
||||
echo "usage: $0 options"
|
||||
@@ -56,7 +56,8 @@ else
|
||||
exit 102
|
||||
fi
|
||||
|
||||
log_file_name="$(realpath $HERE/../../../log/backup/$HOST_NAME-$(date '+%Y-%m-%d_%H%M'))"
|
||||
LOG_FILE_PATH="$(realpath $HERE/../../../log/backup)"
|
||||
log_file_name="$LOG_FILE_PATH/$HOST_NAME-$(date '+%Y-%m-%d_%H%M')"
|
||||
LOG_FILE="${log_file_name}.log"
|
||||
|
||||
file=
|
||||
|
||||
Reference in new issue
Block a user