Problems with Cron - No input file found

Hi,

I’m adding a cron task as
/usr/bin/php55 /home/sites/mydomain.co.uk/public_html/invoices/cron/recur/tiWlkJVlOXTkqynw

But when testing the command in the hosting control panel I get the error…

Your script returned the following:
Status: 404 Not Found
X-Powered-By: PHP/5.5.32
Content-type: text/html

No input file specified.

Now there is no matching file at that location in Invoiceplane. What am I doing wrong or where can I locate the correct crop.php with the correct ID to input.

Typically a cron task would look like this on this hosting control panel:
/usr/bin/php55 /home/sites/mydomain.co.uk/public_html/cms/core/scheduled/run.php secret=12345rfth

There is no need to open the cron path with PHP. The processing is exclusively done by the web server.
Could you please try to open the /invoices/cron/recur/tiWlkJVlOXTkqynw URL in your web browser if the domain is properly mapped?

The best I get without a 404 error page direct is to open the URL:
http://www.mydomain.co.uk/invoices/index.php/invoices/cron/recur/tiWlkJVlOXTkqynw

(Invoice Plane is in a subfolder called invoices). I get just a php white page of death.

If I try put this as a cron task…
/usr/bin/php55 /home/sites/mydomain.co.uk/public_html/invoices/index.php/invoices/cron/recur/tiWlkJVlOXTkqynw

I still get

Your script returned the following:
Status: 404 Not Found
X-Powered-By: PHP/5.5.32
Content-type: text/html

No input file specified.

Any suggestions?

That’s exactly what you should get. :blush:

Hi,
You can use any external crontab (like easycron.com), which starts processes on the URL and a tutorials at https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-invoiceplane, hope the help.