I wrote this script which creates a pickle file to save a list for later use and the script works perfectly when I run it myself but when I set a scheduled task to run the script no pickle file is created even though the logs show that it ran successfully.
Is there something extra I need to put into my code for it to create the file when run via the scheduler?
Thank you in advance.