How to run cron job on the server

Asked

Viewed 613 times

1

How do I run a file. php on the entire server, I want to run a php that shows the Uptime of the server, but I don’t know where to put it to see how long the server is active. Use of Dedicated Server.

1 answer

4

To run a php script by cron you use the following command:

curl -s -o /dev/null http://dominio/pasta/script.php
  • Thanks, I got!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.