PythonAnywhere Forums

Scripts Don't Stop

Hi, we have some scheduled scripts scraping some sites. They used to work perfectly until few days ago, they have altogether failed. Each script normally ran in an hour, but now it lasts roughly 12 hours before they are "killed", a nonzero error code is returned and no specific errors are indicated. We have no idea what's going on. We would greatly appreciate your help!

hmm- perhaps you could add some print/debugging logs so you know that at what point it freezes at? (eg: is it in the middle of the script vs the beginning vs the end)