Page 1 of 1

Cron job not working

Posted: Mon Mar 27, 2017 5:24 am
by ReginaldG
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

Re: Cron job not working

Posted: Mon Mar 27, 2017 6:44 pm
by Esmond
Are you using cPanel to setup cron jobs, or some other ways?

Re: Cron job not working

Posted: Wed Apr 12, 2017 1:08 am
by ReginaldG
Hi Esmond,

Yes I am using Cpanel

Re: Cron job not working

Posted: Wed Apr 12, 2017 6:16 am
by Esmond
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

Cron job not working

Posted: Thu Oct 11, 2018 9:24 am
by Carenwmic
I just to ensure I have set this up correctly, because it doesnt seem to be working.

My vshare subdirectory is "videos"... is this correct or does the subdirectory have to be included?

/usr/bin/php -q /home/MYACCOUNT/public_html/cron.php > /dev/null 2>&1