Open eznix86 opened 8 months ago
There are some Serverless application where running a worker is not accessible for example using Vercel.
So it would be nice to know how to run a worker temporarily via a Webhook call for example using https://cron-job.org/en/ or something similar.
I have tried this:
import django_rq def run_queue(requests): worker = django_rq.get_worker() worker.work() return Response({'status': 'ok'})
I receive:
There are some Serverless application where running a worker is not accessible for example using Vercel.
So it would be nice to know how to run a worker temporarily via a Webhook call for example using https://cron-job.org/en/ or something similar.