I suspect the issue is "drive mappings".
To run under a schedule task you need to use UNC drive mappings everywhere including ADSPROF.??? in the data folder.
The path to EZTASK and Currency Files comes from the above mentioned ADSPROF.??? and should use UNC not drive letters.