Avatar of Richard Korts
Richard Korts
Flag for United States of America asked on

Close program running on remote server

Is there a way to close a program running on a remote server by running a php script (via cron) that first checks to see if a specific program is running (Quick Books in my case) & if it is, closes it?

I think the server is running WindowsServer 2012; that was not an available topic.

Thanks
QuickBooksWindows Server 2008PHP

Avatar of undefined
Last Comment
Davis McCarn

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Gerwin Jansen

cron is not running on a Windows server, you could use psexec to connect and then kill a task as suggested. Or remotely create a scheduled task that does the kill.
SOLUTION
Davis McCarn

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61