Task manager celery to django
Project description
TASK MANAGER
Install
Use pip to install the latest stable version of task-manager
:
$ pip install task-manager
How to use
in tasks.py
from task_manager.services import TaskManager
@task(name='get_urls')
def get_urls():
go = TaskManager(name='get_urls')
if go.start() is True:
go.close()
return 'ok'
else:
return 'lock'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for id_manager-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23ae5564db99edd99c2476a1377db72e1ad239f9955f40d47379a20f2fda5530 |
|
MD5 | d5ce80549cb1c6fca6a6c2d0c1fb33a5 |
|
BLAKE2b-256 | 0cdba721675c3a48552ead0a1b3b999108845912001faadd3d36f53acf07f801 |