Revision fceeeeb69b85f630b5b5e96c8d71b65ca70efc9e authored by Kirill Sizov on 10 October 2023, 12:58:47 UTC, committed by GitHub on 10 October 2023, 12:58:47 UTC
1 parent 6ce88d3
Raw File
rqscheduler.py
#!/usr/bin/env python

# This script adds access to the Django env and settings in the default rqscheduler
# implementation. This is required for correct work with CVAT queue settings and
# their access options such as login and password.

# Required to initialize Django settings correctly
from cvat.asgi import application  # pylint: disable=unused-import

from rq_scheduler.scripts import rqscheduler

if __name__ == '__main__':
    rqscheduler.main()
back to top