How do I run a .php file on the entire server, I want to run a php that shows Uptime on the server, but I do not know where to put it to see how long the server is active. Use Dedicated Server.
How do I run a .php file on the entire server, I want to run a php that shows Uptime on the server, but I do not know where to put it to see how long the server is active. Use Dedicated Server.
To run a php script through cron you use the following command:
curl -s -o /dev/null http://dominio/pasta/script.php