Hello!
Right now I do not use a cron job, so on random pages of my website it starts the cron - right? As I use cache, it could be that the cron starts very often?

If I use my website server cron job service, and have the url of the cron open every 10 minutes - does the cron also still appear in my website pages? Or does acymailing somehow see that the cron is also started via a cron job and stops displaying the cron in the website pages?

I think nothing wil happen is you do not set is as cronjob.* But you can check that easily by yourself on the configuration>queue process at last cronjob Last Run time.

If you call the cronjob url more often then it just will say already run and do nothing.

*I `m using acyba for 5 years now and i do not know of a trigger plugin for acymailing.

Thanks 🙂 I hope the acymailing support can also respond?

  • mihhaSupport Beginner

  • Edited

If you want to use an external cron job then just don't activate the cron job in AcyMailing Configuration, under the Licence tab

External cron job will trigger your cron job URL and AcyMailing won't add cron job on your pages

Ah I think I did not make it clear 🙂

Right now I do not have a cron job. So I think acymailing inserts a piece of code in my website that triggers the sending of emails, right? Since I cache my website, I think sometimes that could mean the piece of code is loaded many times instead of just once.

Now if I do use a cron job from my cpanel, does this stop the piece of code from acymailing on my website? How does this work?

Yes, it stops the AcyMailing code in the page because, as I said, you have to deactivate cron job setting in AcyMailing Configuration and only create a cron job on your server

Hi Mihha! Thanks. So Im just trying to understand it completely, there are three things:

  1. Code in the website if there is no cron, loading the page means acymailing is triggered to send emails. This is the standard right?
  2. Cron via acymailing
  3. Cron via my cpanel

So if I choose option 3, via my cpanel, is option 1 disabled? No code will be added to my website, speeding my website up? Or do I have to do something other then entering the link of the cron job in my cpanel?

I am telling you for the past few replies

Just deactivate cron job in Acymailing and create a cron job on your server, whcih will trigger your cron job URL

That should be it

Can you please try that and see for yourself?

Will do! So the acymail system sees that the server is triggering the cron job, and then acymail stops adding the code to my site's pages automatically?

Yes, if you don't activate the cron job parameter in AcyMailing configuration

Mihha, believe it or not, but this is confusing to me. So to check with you:

I added on my cpanel a cron job which opens this url every 15 min: /index.php?option=com_acymailing&ctrl=cron
In acymailing config I see that it works.

Do I need to do anything to stop acymailing from adding the code to my website pages? If so - what do I need to do, where?

To be honest, I can't believe it because you are asking the same question over and over and I am giving the same answer (because there is no other answer) over and over

You have to do this

Your cron job on the server should call FULL and ABSOLUTE cron job URL and not just /index.php .... part

Also, since you have some kind of caching, make sure to clear the cache to see the difference

Ah I see - this is not what I see in my acymailing. I did not enter my license, but I do see the link to a cronjob (the link I shared with you).

So with a disactivated acymailing cron, and my server visiting the full link every 15 min - it seems I am doing fine.

YOu have to assign a licence in order to get the full URL to the cron job

Not in 5.10.5 it seems? I will enter my license and update soon though.

Well, I guess that this is the information you should have stated from the beginning, right?

You have to update to the latest version in order to have this working

One extra question. If I use a cronjob, are all acymailing mails (newsletter, campaign, joomla overrides) sent using the cronjob?

The reason I ask; the forgot password (joomla override) email would be an email that should be send asap, not only once every 15min with my cronjob?

Only automatic emails are sent using cron job

All other emails (confirmation, welcome, overrides) are sent immediately