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

Housekeeping is forever

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