I have a web application scoped feature that creates and submits a one-time timer job when the feature is activated. The purpose of the timer job is to copy a file from one directory to another on the file system of the machine running the job. The job should run on all WFE's in the farm.
Is it possible to programmatically check whether the file was successfully copied on all of the (remote) WFE's after the job completes? I find that even if the timer job claims to have successfully completed, the file may not have been copied on ALL servers.
For instance, I find that in some cases it is necessary to clear the SharePoint configuration cache on one or more servers before the timer would will successfully complete (cf. this MSDN blog link). Ideally, if that happens, I'd like to be able to tell the user (from an .aspx page) that the job failed to execute on one or more servers.