mercredi 29 juin 2016

Issues with running a php script through cPanel Cron

I am very frustrated now. I have a php script sync.php in the following absolute path folder.

home2/**username**/public_html/**mystore.net**/wp-content/plugins/pets/admin/sync.php

On running the sync.php file manually, it works perfectly. So the php script is not the problem.

My cron command reads php -q /home2/**username**/public_html/pets/admin/sync.php

This is a hostgator server if this helps. The email returns - No input file specified.

I would really appreciate anyone helping me out with this.

Cheers, RakeshD



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire