Skip to content

Commit

Permalink
major: reprocess last 900 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Apr 30, 2024
1 parent bb12d17 commit 3111a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki-logcli-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi
ERRORS=0

# Loop through the last 72 hours, excluding the most recent 2 hours
for i in {2..72}; do
for i in {2..900}; do
echo "Processing hour $i"

# Get the date and time
Expand Down Expand Up @@ -93,4 +93,4 @@ done
if [ "$ERRORS" -gt 0 ]; then
echo "ERROR: Found $ERRORS errors. Exiting the script."
exit 1
fi
fi

0 comments on commit 3111a69

Please sign in to comment.