• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

my scheduled task isn't working

Status
Not open for further replies.
Does it work if you run it in command line? Have you tried?
 
no,i didnt run it from command line but in file explorer i could find the exe. by the way, when i call the file from my browser, it runs successfully..
 
when i type this C:\Program Files (x86)\Parallels\Plesk\admin\bin\php.exe and run it from cmd, a black command window appears and then disappers in 1 second
 
Well. You should run cmd.exe first. Then in black cmd window you will see command line prompt. Type there command with argument:

C:\Program Files (x86)\Parallels\Plesk\admin\bin\php.exe -q "C:\Inetbub....."

and check output in this black cmd window.
 
i tried it now, it says----> Failed with error: 'C:\Program Files (x86)\Parallels\Plesk\admin\bin\php.exe' is not recognized as an internal or external command, operable program or batch file.
 
You shouldn't use admin's php. Use customer's php from %plesk_dir%\Additional\PleskPHP5...
 
C:\Program Files (x86)\Parallels\Parallels Panel\Additional\PleskPHP5\php.exe -q "C:\Inetpub\vhosts\mydomain.tld\httpdocs\myscript.php"

--->is not recognized as an internal or external command, operable program or batch file.
same again
 
Running task: C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe -q "C:\Inetpub\vhosts\mydomain\httpdocs\deneme.php"
Started: Thu Dec 19 12:25:16 2013
The task output is attached to the e-mail
Ended successfully: Thu Dec 19 12:25:23 2013

i was using C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.exe
in stackoverflow i saw this-> C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe
with -cgi exe, it worked successfully..
thank you for all infos, igor :)
 
Status
Not open for further replies.
Back
Top