How to run PHP scripts from cron jobs

1 Answer(s)

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.


Here is the more information about running cron job


Answered on January 26, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.