django-highlander-0.0.1.dev0
توضیحات
Django management Command that prevents simultaneous instances
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-highlander-0.0.1.dev0 |
| نام | django-highlander |
| نسخه کتابخانه | 0.0.1.dev0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Paulo Scardine |
| ایمیل نویسنده | paulos@xtend.com.br |
| آدرس صفحه اصلی | https://github.com/scardine/django-highlander |
| آدرس اینترنتی | https://pypi.org/project/django-highlander/ |
| مجوز | MIT |
django-highlander
=================
There can be only one!
This is a Django `manage.py` Command class for long running tasks stated from crontab.
This will assure there is only one instance running at any time, so crontab will not be able to start a second
instance unless the previous one finished.
How to use
----------
Just inherit from Highlander instead of BaseCommand:
from djangohighlander.command import Highlander
class Command(Highlander):
def handle(self, *args, **options):
...
نیازمندی
| مقدار | نام |
|---|---|
| - | django |
| - | tendo |
نحوه نصب
نصب پکیج whl django-highlander-0.0.1.dev0:
pip install django-highlander-0.0.1.dev0.whl
نصب پکیج tar.gz django-highlander-0.0.1.dev0:
pip install django-highlander-0.0.1.dev0.tar.gz