Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag 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
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial