Django background scheduled app

25 views
Skip to first unread message

Oguz kagan Olmez

unread,
May 20, 2019, 8:12:56 AM5/20/19
to Django users
i just started django, python and back-end. i want to ask you a question for my first project. i have functions that creating json file. After that i am showing that json file on my webpage. But that functions in view take a lot of time and my webpage doesn't open for like 20-30 seconds. Actually my functions should work hourly and my web page doesn't depends to it. something like celery is too hard and i couldn't handle it. I tried cron and it gives errors on windows. thanks 
(Django Background Tasks is my last option. but i am really tired of this. I am working for days now just solve this problem)

Chetan Ganji

unread,
May 20, 2019, 9:14:26 AM5/20/19
to django...@googlegroups.com
celery is what you need for this. It is very simple. Just stick to it, find some examples on youtube for celery, and you should get it.

Regards,
Chetan Ganji
+91-900-483-4183


On Mon, May 20, 2019 at 5:42 PM Oguz kagan Olmez <eliten...@gmail.com> wrote:
i just started django, python and back-end. i want to ask you a question for my first project. i have functions that creating json file. After that i am showing that json file on my webpage. But that functions in view take a lot of time and my webpage doesn't open for like 20-30 seconds. Actually my functions should work hourly and my web page doesn't depends to it. something like celery is too hard and i couldn't handle it. I tried cron and it gives errors on windows. thanks 
(Django Background Tasks is my last option. but i am really tired of this. I am working for days now just solve this problem)

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/04a993fd-dbb5-48da-8c22-f35369c3fbd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oguz kagan Olmez

unread,
May 20, 2019, 11:42:34 AM5/20/19
to Django users
i guess it's my only option now. thx

20 Mayıs 2019 Pazartesi 16:14:26 UTC+3 tarihinde Chetan Ganji yazdı:
celery is what you need for this. It is very simple. Just stick to it, find some examples on youtube for celery, and you should get it.

Regards,
Chetan Ganji
+91-900-483-4183


On Mon, May 20, 2019 at 5:42 PM Oguz kagan Olmez <eliten...@gmail.com> wrote:
i just started django, python and back-end. i want to ask you a question for my first project. i have functions that creating json file. After that i am showing that json file on my webpage. But that functions in view take a lot of time and my webpage doesn't open for like 20-30 seconds. Actually my functions should work hourly and my web page doesn't depends to it. something like celery is too hard and i couldn't handle it. I tried cron and it gives errors on windows. thanks 
(Django Background Tasks is my last option. but i am really tired of this. I am working for days now just solve this problem)

--
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...@googlegroups.com.

Jani Tiainen

unread,
May 20, 2019, 12:07:44 PM5/20/19
to django...@googlegroups.com
Hi,

There are also other alternatives for background processing than celery. 

Like django-rq or django-background-tasks.


Oguz kagan Olmez

unread,
May 20, 2019, 12:10:54 PM5/20/19
to django...@googlegroups.com
django-background-tasks  didn't work. i don't know what is the problem. i was trying to make it work for 2 days and i give up now.  i will consider   django-rq  thank you :) 

Jani Tiainen <red...@gmail.com>, 20 May 2019 Pzt, 19:07 tarihinde şunu yazdı:
Reply all
Reply to author
Forward
0 new messages