Batch Job on Windows Server 2012 Access denied

866 views Asked by At

The batch file is used to execute php files.

Unfortunately whenever i execute the batch file. Access denied error is appear.

below is the source code of my batch file.

set VTIGERCRM_ROOTDIR="C:\Program Files (x86)\vtigercrm600\apache\htdocs\vtigerCRM" set PHP_EXE="C:\Program Files (x86)\vtigercrm600\php\php.exe"

cd /D %VTIGERCRM_ROOTDIR%

%PHP_EXE% -f vtigercron.php

pause

1

There are 1 answers

0
mokh223 On BEST ANSWER

It is the problem of the php file itself. Not related to windows server security setting.

Sorry for the trouble.

Thank you.