How to run PHP scripts from cron jobs
Running PHP scripts from cron jobs
A common method for running PHP scripts from a cron job is to use a command-line program such as curl or wget. For example, the cron job runs a command similar to the following command:
In this command, curl retrieves the web page, which then runs the PHP script.