Several things:
1. What version of Windows Server? Also, what version of Sage and is it Std, Adv, or Premium?
2. What is the FULL command line you see in Windows Task Scheduler? The portion of the command line you copied is correct.
3. *** For your export job output file AND the the beginning portion of your command line, is either based on a UNC path, mapped drive path, or a local drive path? If mapped drive, change it right away to UNC as it's unlikely the Task Scheduler user will have the same drive mapping:
4. In the Windows Task Scheduler:
a. Find the scheduled task then go to the History tab to see when the job started and ended. Look for errors there.
b. *** Look where it says "When running the task user the following user account".
Is that set to NT Authority\SYSTEM or some other local server account? That will not work if using UNC from above so change it to a domain account.
c. Several times I've found it's necessary to check the box for "Run with highest privileges"
5. If none of the above work, you can create a new scheduled task using the Autorun command line, the type you see here - KB 19387
------------------------------
Alnoor Cassim
Email:
alnoor@asifocus.comPh: 949-689-9887
Orange County, CA
------------------------------