Adding tasks to a task queue?

I'd like to start off by saying thanks again for the help with this issue earlier this week. I've now pushed my website live and it's going well.

Basically, here at the University of Birmingham the timetable system isn't great. I was fed up of having to use it to check when my lectures were so I made this site; to go and scrape the uni site and then generate a google calendar which is them emailed to the user.

Due to limits with the Google API, requests take about two minutes at the moment, meaning that I have one web worker for dealing with requests and another for telling people to wait.

I am looking for advice on how to (on pythonanywhere) add tasks to a queue to be done in the background after returning a message through flask, please.

Many thanks,

Tom Moses

This help page is probably the best place to start.

Thanks, I'll look into that

Great! Let us know if you have any problems or questions.