spug/spug_api/tools/start-scheduler.sh

10 lines
273 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))
source ./venv/bin/activate
exec python manage.py runscheduler