start cmd-script if apache service is starting

Problems with the Windows version of XAMPP, questions, comments, and anything related.

start cmd-script if apache service is starting

Postby erich.wanker » 22. March 2021 10:03

hello,
every timer - if the apache-service ist starting - i want execute a cmd file.

Is this possible ?

ThanX for suggestions
Erich
erich.wanker
 
Posts: 22
Joined: 11. November 2009 14:46

Re: start cmd-script if apache service is starting

Postby Altrea » 22. March 2021 12:01

Hi Erich,

No this is natively not possible. Windows does not provide any pre or post scripts for status changes of services.

Of course there are ways to achieve that like writing your very own Apache service, scanning and reacting on specific windows event log or Apache log messages, etc.
But i would not invest any time in trying to implement something like that. What do you want to achieve with that?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: overdrive and 98 guests