Forums

No such file or directory error on scheduled tasks

Hi there,

I have a problem with accessing files that I've uploaded to my files. If I manually run the script from pythonanywhere my script works fine and does not encounter this error. However, when it runs as a scheduled task completely automated, it comes up with a no such file or directory error. I have no idea how this has happened.

Any help would be great!

Make sure that all paths are absolute not relative.