Skip to content
Snippets Groups Projects
Commit c34ac065 authored by Roang's avatar Roang
Browse files

Housekeeping is forever

parent e23d9a79
Branches
No related tags found
No related merge requests found
......@@ -75,12 +75,7 @@ if [ "$1" == "shell" -o "$1" == "createsuperuser" -o "$1" == "test" ]; then
fi
if [ "$1" == "housekeeping" ]; then
interval="${HOUSEKEEPING_SLEEP_SECONDS:-300}"
if [ "$interval" -gt 0 ]; then
python3 $APP_HOME/manage.py housekeeping --forever --forever-delay="$interval"
else
python3 $APP_HOME/manage.py housekeeping
fi
python3 $APP_HOME/manage.py housekeeping --forever
fi
cat <<EOD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment