Hi,
But why the CRON task that I created on server doesn't send mails ?
It's probably that the cron task you created on the server is not created properly. How did you created it ? Could you provide some screenshots ?
And could you tell me how work thé PHP file solution, please ?
Are you talking about :
If you configured your cron task on your own server, check the report of your own cron task and you may also want to apply this workaround:
Create a php file at the root of your joomla website with the code below in it where you will replace yourwebsite.com by your website.
<?php
header("Location:
www.yourwebsite.com/index.php?option=com_hikashop&ctrl=cron
");
exit();
Then, instead of calling the hikashop cron page, you will call your php file you just created. Like that, for example:
wget -O /dev/null "
www.yourwebsite.com/myfile.php
" > /dev/null
?
As explained there, after you created the PHP file, you need to configure the cron task on your server to call that php file, otherwise, nothing will happen. So as I said at the beginning of my message, I think you must have made a mistake in how you configured the cron task on your server.
Note that different hosting providers have different ways of allowing users to create cron tasks for their website. So that's why we can't say exactly how you should do it. For example, if your hosting provider gives you access to a cpanel to administer your server, you can probably configure cron tasks as explained here:
www.a2hosting.com/kb/cpanel/advanced-features/cron-jobs/
If your hosting provider gives you a SSH access to your server, then you can probably do it from there:
www.hostinger.com/tutorials/cron-job
If you're not sure how to do, the best is to check with the support of your hosting provider. They will tell you what's best.