I have a scheduled job that creates files in a subdirectory to upload. It works fine when I run it manually, logged in as an administrator, but it does not work when run by the EPi scheduler.
To my understanding this is because the scheduler runs the job as Anonymous user. There should be a way to either give Anonymous rights to create files or log in as another user in the job code. Or possibly some other solution of which I don't know.
/Hakan Lindegren
See this code sample for an example of how to set the user to execute a job with. If I remember right you need to be running 4.61 for this to work:
http://www.episerver.com/en/EPiServer_Knowledge_Center/developerforum/Code-Samples/2640/Remove-old-versions-job/