Cron job not working

General discussions related to Logic Invoice. The place for you if you cannot find a suitable place for your post.
Post Reply
ReginaldG
Posts: 2
Joined: Mon Mar 27, 2017 5:15 am

Cron job not working

Post by ReginaldG » Mon Mar 27, 2017 5:24 am

Hi,

I am new to Cron jobs and I can't get the one the module gives to work on my site?
It tells me in the email I get:
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

I removed the /dev/null in front to get the email as I understand this prevents it from sending the email notification.

Can someone please explain to me why it is not working?
Here is more info. I installed my cart in https://ditable.co.za/shop and Logic invoice in https://ditable.co.za/li
then the Cron job looks like this: please note I changed the token
curl -s -o /dev/null "https://ditable.co.za/shop/index.php?ro ... en=MYTOKEN"
so i go to my backend on my Cpanel and put that into my Cron job place with a 0ne per minute sync.
I would really appreciate help thanks

User avatar
Esmond
Site Admin
Posts: 298
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: Cron job not working

Post by Esmond » Mon Mar 27, 2017 6:44 pm

Are you using cPanel to setup cron jobs, or some other ways?

ReginaldG
Posts: 2
Joined: Mon Mar 27, 2017 5:15 am

Re: Cron job not working

Post by ReginaldG » Wed Apr 12, 2017 1:08 am

Hi Esmond,

Yes I am using Cpanel

User avatar
Esmond
Site Admin
Posts: 298
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: Cron job not working

Post by Esmond » Wed Apr 12, 2017 6:16 am

You may want to try an online cron service to trigger the URL, see if that works. Alternatively, you can try manually triggering the URL as well

Post Reply