Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Posts
    12

    Default 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. #2
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote 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
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  3. #3
    Join Date
    Jun 2009
    Posts
    12

    Default

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

  4. #4
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote 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
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •