CRON not working 1.5.11 - No such file or directory

the wiki

suggests to use:
your-domain.com/invoices/cron/recur/your-cron-key-here

but that directory does not exist on the server “/invoices/cron/recur/”

/bin/sh: http://your-domain.com/invoice/invoices/cron/recur/your-cron-key-here: No such file or directory

can anyone help? is this a version issue?

If you wanna call a external request you need to use curl or wget

So try something like this:

0 0 * * * curl https://your-domain.com/invoices/cron/recur/your-cron-key-here >/dev/null 2>&1
or
0 0 * * * wget -O - https://yoursite.com/invoices/cron/recur/your-cron-key >/dev/null 2>&1

that should work. Before pasting it intop a cron try and test in in your commandline

hi thanks for the reply,
sorry i dont understand? if i look in my hosting that directory isn’t there? /invoices/cron/recur/

i dont understand what the issue is?

i am also using cpanel to insert the cron job

is the DIR suppose to exist?

Merry Xmas!
It is just like I wrote before. There is just one was to implement this correct and this is how to do it:

You can also read this in the Wiki.
Here: LINK1
Here: LINK2

hello, i tried both methods. they did not work
is the DIR suppose to exist?

i am on shared hosting using cpanel

thanks