PHP Scripts

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
AndrewT
Junior Coder
Posts: 38
Joined: Thu Sep 17, 2015 6:06 pm

PHP Scripts

Post by AndrewT » Mon Feb 07, 2022 4:48 pm

Does anyone run PHP scripts with MS? If so, wondering how to know when they are completed.
When I run them in Task Scheduler, the CMD window closes when the process completes, but this doesn't happen when I run them in CMD from MS.

Any help would be appreciated.

Andrew T.

rullbandspelare
Pro Scripter
Posts: 149
Joined: Tue Mar 23, 2004 9:11 pm

Re: PHP Scripts

Post by rullbandspelare » Tue Apr 12, 2022 2:38 pm

Hi!
Have You tried :
cmd /C Carries out the command specified by string and then terminates

run>cmd /c "c:\php\php.exe" code.php

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts