You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Problem Scenario

User configured Job to execute simple Windows command to copy file from folderA to folderB. User reported that when he try to execute same command from CMD prompt he has no problem,
but same command when configured to run from JobScheduler throws "Access denied" error.

JobScheduler example Job

?xml version="1.0" encoding="ISO-8859-1"?>
<job >
    <script  language="shell">
        <![CDATA[
copy c:/outbound/test.txt d:\reports\daily
        ]]>
    </script>

    <run_time />
</job>

JobScheduler runs as Service on Windows Server, Windows Service has a special user which may or may not have same right as user logedin/installed the JobScheduler, even administrator user.

To see what

  • No labels