Cron Jobs

Cron Jobs are very important for pH7CMS.

If they do not work properly, the site may not function properly and have the server overload, excessive CPU resources, database overload, etc.

The pH7CMS crons are very easy to configure.

Attention, before continuing, you must change the secret word of cron (this is the parameter "secret_word" in the cron URL) by yours in the administration panel to prevent others activate the cron without your knowledge.

For example, to perform the task of the database MySQL server,
you just need run it (e.g., cPanel or Plesk) every 96 hours with this URL

"GET http://YOUR-SITE.COM/asset/cron/96h/Database/?secret_word=YOUR_SECRET_WORD"

You also have GET "option" parameters that are optional. Example:
"http://YOUR-SITE.com/asset/cron/96h/Database/?secret_word=YOUR_SECRET_WORD&option=repair"
for repair your database or reset the statistics of your site by passing it as parameter "stat" instead of "repair".
Do this for the rest of the URLs with the time corresponding to the folder name.
All cron jobs are located in the following directory:
"/YOUR-PATH/YOUR-PROTECTED-FOLDER/app/system/assets/cron/"

Careful, you should not put the end of the file: Cron.php in the executor of the cron job.