Cron task
What's a cron task and why do I need one?On all our commercial versions, AcyMailing can execute automatic processes such as sending your messages (automatic send process of batches of e-mails), generating Newsletters (with the auto-Newsletter), sending your follow-ups (with the campaign system)... For those actions to be executed, AcyMailing needs to be triggered regularly, and each time AcyMailing is triggered, it will check if some tasks have to be executed and then do what needs to be done. A cron task is a system which will automatically trigger AcyMailing without any human intervention. This is a one-time setup... Once done, you won't have to think about it any more and all automatic actions will work.
Create your cron task on our serverAs some hosting companies don't enable you to create a cron task on your own server and also because some of our users have no clue what's a cron task, we created a cron service and an easy way to add a cron task directly via your AcyMailing configuration! So, within two clicks, you will be able to create your cron task:
Create your cron task on your own serverIf you have the possibility and the knowledge to create a cron task on your own server, then you should do it and stop the cron task on our server to be completely independent from our server. You should configure the cron on our server (directly via the AcyMailing Configuration page) OR on your server, not both. You should trigger your AcyMailing cron url at a fixed frequency depending on your needs (every 15 minutes is usually a good frequency) You can see your cron url on your AcyMailing configuration page, tab Queue process.
Linux SystemYou can use one of the following commands depending on your server: lynx -source "http://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null Or wget -O /dev/null "http://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null If you access your website using an httpS protocol, you may want to use this command instead: wget --no-check-certificate -O /dev/null "https://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null Some hosting company block the lynx and wget command in which case you should use the curl one: curl --silent --compressed "http://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null 2>&1
Test your cron task
My cron does not work?!If your cron task is not working, you should:
Last Updated on Wednesday, 15 May 2013 17:18
|




Enjoy automatic send process and scheduled newsletters. Use captcha and welcome messages.
Stop writing your newsletters, let Acy do it for you! Track your user's clicks and get powerful statistics.
The ultimate version with custom fields, front-end edition, bounce back handling, follow-up messages ...
The best of AcyMailing with unlimited websites support.
More integrations? Have a look at our plugins
AcyMailing is translated in more than 40 languages
AcyMailing
If our documentation didn't answer your question
Where everything is explained!
For private enquiries






