I cannot get my cron job to run for recurring. I am getting the error below, with my domain and key replaced with a place holder. My cron command is:
wget -O - http://mydomain/invoices/cron/recur/mykey > test.txt 2>&1
–2019-09-05 18:21:01-- http://mydomain/invoices/cron/recur/mykey
Resolving mydomain (mydomain)… 220.127.116.11
Connecting to mydomain (mydomain)|18.104.22.168|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2019-09-05 18:21:01 ERROR 404: Not Found.
I have read through all of the postings with a 404 error and have tried all of the suggestions but still get the error above from the cron output.
I have also tried running this directly from the browser but I get:
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any help would be appreciated.