Metadata-Version: 2.0
Name: django-highlander
Version: 0.0.1.dev0
Summary: Django management Command that prevents simultaneous instances
Home-page: https://github.com/scardine/django-highlander
Author: Paulo Scardine
Author-email: paulos@xtend.com.br
License: MIT
Platform: UNKNOWN
Requires-Dist: django
Requires-Dist: tendo

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):
            ...





