I have a PHP script that I'm currently running with an open browser, with the command below:
<meta HTTP-EQUIV="refresh" CONTENT="1800">
Despite the memory problems that the browser consumes, it was running smoothly. Now I need to develop 3 more scripts that will also run from time to time. Is there any way to run the script via task manager? I did a test with a prompt, but I did not succeed, because regardless of the script, it always returns a parse error that does not exist.
Parse error: syntax error, unexpected end of file in C:\wamp\www\reservas\Enviar
EmailLembrete.php on line 281
C:\wamp\bin\php\php5.5.12>php c:\wamp\www\reservas\EnviarEmailLembrete.php
Changing to localhost:
C:\wamp\bin\php\php5.5.12>php -f http://localhost/reservas/EnviarEmailLembrete.p
hp
Could not open input file: http://localhost/reservas/EnviarEmailLembrete.php
Code JsFiddle