Announcement

Collapse
No announcement yet.

schedule a php script using plesk.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • schedule a php script using plesk.

    I am trying to configure a PHP script to be ran on the 1st of each month using the PLESK control panel schedule task function.

    I have in the path to executable file
    D:/Parallels/Plesk/Additional/PHP/php.exe -f d:/inetpub/vhosts/***mydomainhere****/httpdocs/***myfile***.php

    But cant seem to get it to work. I've tried a few variations of the above but just seem to be not getting it.

    I know its probably something simple, staring me in the face, but would appreciate any light anyone can shed on it.

  • #2
    Originally posted by terlan View Post
    I am trying to configure a PHP script to be ran on the 1st of each month using the PLESK control panel schedule task function.

    I have in the path to executable file
    D:/Parallels/Plesk/Additional/PHP/php.exe -f d:/inetpub/vhosts/***mydomainhere****/httpdocs/***myfile***.php

    But cant seem to get it to work. I've tried a few variations of the above but just seem to be not getting it.

    I know its probably something simple, staring me in the face, but would appreciate any light anyone can shed on it.
    It should be similar to:
    "D:\Parallels\Plesk\Additional\PleskPHP5\php.e xe" -f "d:\inetpub\vhosts\your_domain\httpdocs\mycron.php "
    You'd need to change the paths & domain name accordingly
    Rock _a.k.a._ Jack Daniel

    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    Comment


    • #3
      Do I keep the space in .e xe or is that a typo?

      Comment


      • #4
        Originally posted by terlan View Post
        Do I keep the space in .e xe or is that a typo?
        There shouldn't be any space... it wasn't a typo, but a forum auto-(mis)behaviour....
        Rock _a.k.a._ Jack Daniel

        Follow eUKhost on Twitter || Join eUKhost Community on Facebook

        Comment

        Working...
        X