Forums

Will the console running django background tasks restart?

I'm using Django background tasks (https://django-background-tasks.readthedocs.io/en/latest/) to send emails to new users for new account creation. The way I currently activate it is to run python manage.py process_tasks on a bash terminal.

I'm just wondering will Python Anywhere automatically close the bash terminal that is doing the process_tasks after a certain time)?

Yes, our consoles are not designed for long running jobs. You should probably use Always-on task feature.

Thank you!