mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Add checksnappea command
This commit is contained in:
11
snappea/management/commands/checksnappea.py
Normal file
11
snappea/management/commands/checksnappea.py
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
from django.core.management.base import BaseCommand
|
||||||
|
|
||||||
|
from snappea.example_tasks import fast_task
|
||||||
|
|
||||||
|
|
||||||
|
class Command(BaseCommand):
|
||||||
|
help = "Send a task to Snappea for debugging"
|
||||||
|
|
||||||
|
def handle(self, *args, **options):
|
||||||
|
print("Sending task to Snappea")
|
||||||
|
fast_task.delay()
|
||||||
Reference in New Issue
Block a user