I am new to ajax and need some help on how to add a Loading... Please Wait message.
I have a PHP script that once the user hits submit a remote execution is run on the server
exec('C:\test\psexec.exe -d schtasks /RUN /TN "Test"');
I know how to check if the exe is still running on the server using
exec ('tasklist /FI "IMAGENAME eq psexec.exe"');
However I want to be able to display a message while a script checks every 10 seconds if the exe is still running.