While there are probably other ways this method seems to work very effectively and is easy to setup.
Make a php file that refers to the ASP file that you wish to run from the Scheduling Task wtih contents such as this
<?php
file_get_contents("http://www.YOURDOMAIN/FILE.asp");
?>
Then in the scheduler Use the following information:
in the 'Path to executable' field use
C:\Program Files\(Plesk Installed Folder)\Additional\php\php.exe
in the 'arguments' field do something like;
C:\Inetpub\vhosts\YOURDOMAIN\httpdocs\FILE.php
Where FILE.php is the name of the file you created above.
Then set your schedule time and all should work without any issues.
| < Prev | Next > |
|---|