Hi,

You can't really do that in that fashion. There are however other ways to
achieve this.

1. You can add crontab task and run the tasks on the cron schedule.
2. You can add django celery to add scheduled tasks within a celery queue.

Also, so you know - there are many major sites running django currently
(the most prominent being youtube and instagram). So there is always a way
to do everything in django :)

Regards,

Andréas


Den tis 15 okt. 2019 kl 12:21 skrev Sampath Reddy <
sampath.nandy...@gmail.com>:

> Hi All,
>
> Follow up doubt on django server readiness check,
>
> Current django production application runs continuously in the
> background as we have daemonized the runserver command from uwsgi module.
>
> Now after staring the django server , now want to run python manage.py
> process_tasks in the background just like the main django server. How can
> we achieve this? [ not using supervisord ]
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAErixQ1%3DN57%3DKtPjnUxwGHotGZPwjbprVdNYoYp-v__MrjzfNA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAErixQ1%3DN57%3DKtPjnUxwGHotGZPwjbprVdNYoYp-v__MrjzfNA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCdquzr7DcPefiGME1ahx5fdKjt_iAzD35g3R_K6UuJxBQ%40mail.gmail.com.

Reply via email to