proxadmin/cronexec.sh

10 lines
273 B
Bash
Raw Permalink Normal View History

2017-07-25 10:33:23 -04:00
#!/bin/bash
2017-12-14 18:00:02 -05:00
# cronjob manager
echo "_.··¸.-~*¨¯¨*·~-.,-( proxmaster )-,.-~*¨¯¨*·~-.¸··._"
2017-07-25 10:33:23 -04:00
scriptdir=`dirname $0`
cd $scriptdir
2017-08-01 07:21:22 -04:00
/bin/bash -c "source ../bin/activate; python3 manage.py autodisable ; python3 manage.py autowarn ; python3 manage.py autoremove"