Forums

Scheduled Daily Task Runs for Few Days and then Unexpectedly Stops

My scheduled daily task (python file) runs for 2-3 days and properly updates a CSV sitting in the same directory as the python file. However, it stops updating the CSV file after 2-3 days. Why does it suddenly stop working? For reference, the script takes 4-5 hours and completes without errors during those 2-3 days where it runs properly.

You will need to add additional logging to your code to see what is happening that stops the updates to your file.