Copy link to clipboard
Copied
Hi All,
Is there anyway we can restart the coldfusion server through any code or Admin API?
We are having coldfusion MX 7. We do not have access to to the server for restarting. Every time we need to wait for the Administrator to restart it.
I want to know is there any Admin API which we can use to restart the server?
Thanks in advance for your help..:)
Copy link to clipboard
Copied
Have you looked at the docs? Only relevant one is serverinstance.cfc - "Start, stop, and restart JRun servers. This CFC only works when running the multiserver configuration"
Generally a website wouldn't have permissions to restart a Windows service, so no.
Copy link to clipboard
Copied
Are you talking about a server admin or a cf admin?
Copy link to clipboard
Copied
meensi wrote:
Hi All,
Is there anyway we can restart the coldfusion server through any code or Admin API?
We are having coldfusion MX 7. We do not have access to to the server for restarting. Every time we need to wait for the Administrator to restart it.
I want to know is there any Admin API which we can use to restart the server?
For MX7 standard edition on Windows, you can start/stop the server by running the cfstart/cfstop batch files in C:\CFusionMX7\bin.
Copy link to clipboard
Copied
Hi all,
THanks for your suggestions, will try and let you know..