skip to Main Content

I’ve setup a scheduled task as being explained in the plesk manual; but it doesn’t run at all.

Path to an executable file is:
C:Program Files (x86)ParallelsParallels PanelAdditionalPleskPHP5php.exe

Arguments:
C:Inetpubvhostsdomain.comdomain.comscripttorun.php

As for the argument; it’s correct that there are 2 domains in the path.
Can somebody give me any advice where to investigate next because i tried a lot.

2

Answers


  1. Chosen as BEST ANSWER

    Thanks Oleg for your answer. We found the solution. Apparently the PHP version number is also mentioned in the folder structure of plesk. And you were right, also the 'panel' is not needed.

    So the working executable path is:

    C:Program Files (x86)ParallelsPleskAdditionalPleskPHP54php.exe


  2. Last folder looks strange for me:

    C:Program Files (x86)ParallelsParallels Panel
    

    I don’t remember that Plesk used “Parallels Panel” folder for any version.

    In my installation there is:

    C:Program Files (x86)ParallelsPlesk
    

    Anyway you can try to use “%plesk_dir%” (always use quotes!) instead of “C:Program Files (x86)ParallelsParallels Panel”

    So your cron task will be like:

    "%plesk_dir%AdditionalPleskPHP5php.exe" C:Inetpubvhostsdomain.comdomain.comscripttorun.php
    

    Just want to say that in up coming Plesk 12.5(not released yet) setup of cron tasks will be much easier.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search