[Skip to main content](#vessel-content)

#   create cron task gives Error

##

- **[tesla](/forum/user/40372-tesla "View tesla's Profile")**
- [![tesla's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40372-tesla "View tesla's Profile") Topic Author
- [ Offline](/forum/user/40372-tesla)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 4 months ago [\#246426](#246426) by [tesla](/forum/user/40372-tesla "View tesla's Profile")  *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246426 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")* was created by *[tesla](/forum/user/40372-tesla "View tesla's Profile")*

-- HikaShop version -- : 2.6.1

Hello,
I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:
[ mysite.comg/component/hikashop/cron](http://mysite.comg/component/hikashop/cron)
But this gives the following error:
Error triggering your website on the url: [ mysite.com/component/hikashop/cron](http://mysite.com/component/hikashop/cron)
It also notifies that:
We changed your url into: [ mysite.com/component/hikashop/cron](http://mysite.com/component/hikashop/cron) which is apparently the right one
On the other side I get the CRON emails on every 15 min.

Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the "?ctrl=cron" part
Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 4 months ago [\#246437](#246437) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246437 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")*

Hi,

You actually don't need to use a SEF URL for the cron task.
SEF URLs are useful for two things:
- displaying a nice URL to the users
- providing SEF URLs to search engines for better referencing
But for the cron task, no user will see it and the search engines won't either.
And the non SEF URLs still work even with you activate the SEF. So there is no need to change the cron URL. You should leave the default one that HikaShop generates for you.
The ?ctrl=cron part of the non SEF URL is converted to just "/cron" for the SEFed URL.

The following user(s) said Thank You: [tesla](/forum/user/40372-tesla "View tesla's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tesla](/forum/user/40372-tesla "View tesla's Profile")**
- [![tesla's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40372-tesla "View tesla's Profile") Topic Author
- [ Offline](/forum/user/40372-tesla)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 4 months ago -  10 years 4 months ago [\#246511](#246511) by [tesla](/forum/user/40372-tesla "View tesla's Profile")  Replied by *[tesla](/forum/user/40372-tesla "View tesla's Profile")* on topic *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246511 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")*

Thank you!
If I keep the default URL it still gives the same error. That is the primary reason to start playing with the URL.

What I am after is to utilize the functionality of the waitlist. Wait List plugin is active. I see under Customers Waitlist who is waiting for what. Once the quantity is changed (just for the test I manually change the quantity of one of the products) and the CRON is activated I see in the CRON report "Waitlist notifies checked" and the record is no longer in the Waitlist, BUT no email is received by the customer, neither email is sent to the customer (checked the Sent Email Folder).

Is this somehow related to the above error and Could you help troubleshooting the issue?
Thank you!

Last edit: 10 years 4 months ago by [tesla](/forum/user/40372-tesla "View tesla's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 4 months ago -  10 years 4 months ago [\#246513](#246513) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246513 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")*

Hi,

I've check on our end for your cron task, and it looks like it's running properly. So there should be nothing left to do to make it work.
That means that the problem is with the email sending.
Enable the email history plugin via the Joomla plugins manager if not already done and do a test again. Then, you can go in the menu Users&gt;Email history and you can check that the email has been sent by HikaShop.
If you see it there, then it has been sent by HikaShop.
And if you didn't receive it, it either went in your spam folder, or your email server had a problem sending the email.
You would have to check the log of the email server (probably need to ask your hosting for that and provide them with a screenshot of the email history details about the email so that they can easily find the log corresponding). It should contain the necessary information regarding why the email didn't reach its destination.

Last edit: 10 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [tesla](/forum/user/40372-tesla "View tesla's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tesla](/forum/user/40372-tesla "View tesla's Profile")**
- [![tesla's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40372-tesla "View tesla's Profile") Topic Author
- [ Offline](/forum/user/40372-tesla)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 3 months ago -  10 years 3 months ago [\#246701](#246701) by [tesla](/forum/user/40372-tesla "View tesla's Profile")  Replied by *[tesla](/forum/user/40372-tesla "View tesla's Profile")* on topic *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246701 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")*

You rock, this is great troubleshooting information about CRON/ Waitlist Email issues.

I checked Email history, emails are there. I checked with Hosting porvider and here is where it becomes interesting.
They have checked the logs and they say that there is no such email received to the mailserver &lt;UPDATE: this doesn't sound right, see my next post&gt;

I tried with another receipent and the system (Hikashop) sends Wait List Notification and the recepient receives it. So, in general there is no problem with the Mail Server.

I tested sending emails through webmail client (HORDE) to the problematic email recepient and the email is received, so it is not the problem with the recepeint's email, either ...

The problematic email is like xyz.ejas@sjsjjsa.kka - the only "strange" thing is the "." in the email.
Please give me some guidence to further troubeshoot the issue.

Thank you!

Last edit: 10 years 3 months ago by [tesla](/forum/user/40372-tesla "View tesla's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tesla](/forum/user/40372-tesla "View tesla's Profile")**
- [![tesla's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40372-tesla "View tesla's Profile") Topic Author
- [ Offline](/forum/user/40372-tesla)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 3 months ago -  10 years 3 months ago [\#246720](#246720) by [tesla](/forum/user/40372-tesla "View tesla's Profile")  Replied by *[tesla](/forum/user/40372-tesla "View tesla's Profile")* on topic *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246720 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")*

UPDATE:
I finally got some sort of LOG from the Hosting company that may give direction to what the problem is. Here is an extract from the log:

Warning: "SpamAssassin as cpaneleximscanner detected OUTGOING not smtp message as NOT spam (0.![8)](/media/kunena/emoticons/9.png "8)")"
.............
[IP] SSL verify error: depth=2 error=self signed certificate in certificate chain ...........
2016-07-29 13:38:10 1bT5B6-003mwj-QL [IP] SSL verify error: certificate name mismatch: "/O=Company/OU=IT/CN=TMIMSVA.xx.yyy.zzz"
2016-07-29 13:38:10 1bT5B6-003mwj-QL =&gt; EMAIL@company.com R=lookuphost T=remote_smtp H=mx2.Company.com .....

Last edit: 10 years 3 months ago by [tesla](/forum/user/40372-tesla "View tesla's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 3 months ago [\#246737](#246737) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[create cron task gives Error](/forum/4-how-to/885764-create-cron-task-gives-error#246737 "-- HikaShop version -- : 2.6.1  Hello, I am trying to Create the Cron job and since I have SEF activated I use the followin gURL:   mysite.comg/component/hikashop/cron  But this gives the following error: Error triggering your website on the url:   mysite.com/component/hikashop/cron  It also notifies that: We changed your url into:   mysite.com/component/hikashop/cron  which is apparently the right one On the other side I get the CRON emails on every 15 min.  Could you please verify that I am using the correct SEF translated URL? Not sure how to translate the &quot;?ctrl=cron&quot; part Thank you!")*

Hi,

First, note that there are two email servers that play a role there:
1. The email server of your web server which sends the email for your website
2. The email server of your recipient domain name which receives the email
Both can be the same email server if you're sending an email from your website to an email address of the domain name of your website.
So this sentence is a bit vague:

> They have checked the logs and they say that there is no such email received to the mailserver

Are they talking about the email server sending the email ? Or the email server receiving the email ?

But as I understand you tried with another email address and it worked, and even for the email address where it didn't work, you still got the email in the email history of HikaShop. So the problem is not with HikaShop. You'll have to see with the settings of the sending or receiving email server and we won't be able to help you further with that matter.

Regarding the log they gave, it says that the receiving email server has a SSL certificate that has been self-signed and not signed by a trusted authority. So I would wagger that you're using an email address of your domain name which isn't using a properly configured SSL certificate and thus the email sending is refused.
You'll have to check that with the person whon put in place the SSL certificate.
There is a free service now available to sign certificates so it doesn't cost anything (beside the time spent doing it) to properly sign a certificate:
[ letsencrypt.org/](https://letsencrypt.org/)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NTc2NC1jcmVhdGUtY3Jvbi10YXNrLWdpdmVzLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
