I deployed a Django app using free version of Heroku. Now I need to run some background task so I choose django-background-tasks . As per the documentation, I have to run python manage.py process_tasks
command after running the project using python manage.py runserver
. So I added Procfile as below
worker: python manage.py process_tasks
web: gunicorn CYC_Heroku.wsgi
But, I couldn't scale the app cause, I'm using a free version. then, can I do the same without paying money / without credit card ??
Actually, you can set up a clock process in heroku using APScheduler now.
I just tried it and it works great.
You can set up the time as you like, 1 minute is also allowed.
And it's free.