proxadmin/cronexec.sh

5 lines
178 B
Bash
Executable file

#!/bin/bash
scriptdir=`dirname $0`
cd $scriptdir
/bin/bash -c "source ../bin/activate; python3 manage.py autodisable ; python3 manage.py autowarn ; python3 manage.py autoremove"