Can cron job run more often than every 15 minutes?
Status: Solved
ID: L3GFF-71E
My host only allows 20 emails to be sent per minute. Therefore I have set my maximum emails per task to 19. I set up a cron task on ijoobi to run every 15 minutes, which works, but takes many hours to get through our 2000 subscribers.

I have tried setting up the cron task on my server using various examples found here, but I keep getting errors. Host is lunarpages, using cpanel.

Author: echobrin
Created: 4 February 2010
Elapsed: 14 Years 3 Months
Replies Details
Hi Amy,

Unfortunately 15 is the lowest frequency you can get at ijoobi.com, if you need to send more mails I suggest getting  a cron service from your host, but some hosts do not offer cron, please verify to them.

Thank you.

Kind regards,
kon
Replied: 4 February 2010
Response: 2 Hours 41 Minutes
I'm having trouble getting the cron task to work on my server. I think it may be due to the parameters in the URL. I found an old thread on this topic and tried the solutions suggested but couldn't quite get it working:

http://www.ijoobi.com/component/option,com_agora/Itemid,60/id,3481/p,1/task,topic/

What are those strange AA characters at the end of the code on the above page?

Has anyone else gotten the cron task working on a server than can't handle the parameters in the URL?

I am unfortunately stuck with this host for another year so I need to find a way to make it work. Otherwise it will take literally days for one newsletter to go out if I can only send 20 emails every 15 minutes.

Any suggestions would be appreciated.
Replied: 5 February 2010
Response: 18 Hours 17 Seconds
Hi Amy,

Have you checked and tested the command lines
here?

Have tried using this command in your command line?:
wget -q -r -nd --delete-after 'http://www.yourdomain.com/index2.php?option=com_acajoom&act=cron'

Thank you.

Kind regards,
kon


Replied: 5 February 2010
Response: 5 Hours 9 Minutes
Thanks for the suggestions. wget did not work. I tried a lot of variations and finally found something that seems to be working. I'll include it here in case it might help someone else in the future:

/usr/bin/curl -s -o /dev/null "http://www.mydomain.com/index2.php?option=com_acajoom&act=cron"
Replied: 5 February 2010
Response: 3 Hours 6 Minutes

Hi Amy,

Thanks for confirming and adding your solution, I will make this ticket sticky so that other customers with the same host(lunarpages) and are having problems with their cron can use command line you've provided.

Have a great day.

Kind regards,

kon

Replied: 8 February 2010
Response: 2 Days 6 Hours