Skip to content

Commit

Permalink
tools: Update data_run.sh delete data flags
Browse files Browse the repository at this point in the history
  • Loading branch information
R2ZER0 committed Oct 20, 2023
1 parent 314b546 commit 0a6f9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/data_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ TOTAL_RUNS=`./datastore/manage.py list_datagetter_runs --total`

if [ $TOTAL_RUNS -gt $MAX_TOTAL_RUNS_IN_DB ]; then
echo_stamp "Delete oldest datagetter data"
./datastore/manage.py delete_datagetter_data --oldest --no-prompt
./datastore/manage.py delete_datagetter_data --older-than-days 31 --no-prompt
fi

echo_stamp "Deleting old GrantNav packages"
Expand Down

0 comments on commit 0a6f9a8

Please sign in to comment.