12 lines
314 B
Bash
12 lines
314 B
Bash
#!/bin/bash
|
|
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
|
|
# Copyright: (c) <spug.dev@gmail.com>
|
|
# Released under the MIT License.
|
|
# start schedule service
|
|
|
|
cd $(dirname $(dirname $0))
|
|
if [ -f ./venv/bin/activate ]; then
|
|
source ./venv/bin/activate
|
|
fi
|
|
exec python manage.py runscheduler
|