spug/spug_api/tools/start-scheduler.sh

10 lines
273 B
Bash
Raw Normal View History

2020-01-07 16:25:18 +00:00
#!/bin/bash
2020-01-15 12:48:22 +00:00
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <spug.dev@gmail.com>
# Released under the MIT License.
2020-01-07 16:25:18 +00:00
# start schedule service
2020-01-15 12:48:22 +00:00
2020-01-07 16:25:18 +00:00
cd $(dirname $(dirname $0))
source ./venv/bin/activate
2020-01-15 12:48:22 +00:00
exec python manage.py runscheduler