proxadmin/cronexec.sh
2017-12-15 01:00:02 +02:00

10 lines
273 B
Bash
Executable file

#!/bin/bash
# cronjob manager
echo "_.··¸.-~*¨¯¨*·~-.,-( proxmaster )-,.-~*¨¯¨*·~-.¸··._"
scriptdir=`dirname $0`
cd $scriptdir
/bin/bash -c "source ../bin/activate; python3 manage.py autodisable ; python3 manage.py autowarn ; python3 manage.py autoremove"