A minimal async task scheduler django app!
Go to file
Oracle 07fe648b9c Syntax Highliting and more
Moved template looking code in base.admin related to error messages, into an actual template file.
New feature: Codearea widget
Every JSONField will be highlighted in django-admin with json highlighter
2025-08-11 15:23:12 +02:00
asyncron Syntax Highliting and more 2025-08-11 15:23:12 +02:00
.gitignore Initial commit 2024-10-17 01:54:49 +00:00
LICENSE Initial commit 2024-10-17 01:54:49 +00:00
README.md Added examples 2024-10-26 09:24:20 +00:00
requirements.dev.txt Packaging stuff 2024-10-17 06:11:23 +03:30
setup.py Minor improvements and version bump 2025-08-09 17:21:37 +02:00

asyncron

A minimal async task scheduler django app!

Add this to your gunicorn.py config: from asyncron.gunicorn import post_fork

Or run this python3 manage.py run_asyncron_worker

Example Django Config:

ASYNCRON = {
	"IMPORT_PER_APP": ["api", "tasks"], #Trys to load api.py and tasks.py files from apps inside your project
}

Example Task in task.py:

import asyncron
@asyncron.task( interval = "10m", jitter = "+10m" )
async def keep_identity_provider_configs_fresh():
    ...