cron job doesn’t trigger emails
cron job doesn't trigger emails
Hi Maverick,
I have been playing around with the automatic cronjob for email triggering (CjLib).
I have found that using the "curl URL" doesn't do the trick if the site has been set to https, as the url is missing the s after http.
The log shows:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 502 0 502 0 0 120k 0 --:--:-- --:--:-- --:--:-- 163k
100 502 0 502 0 0 110k 0 --:--:-- --:--:-- --:--:-- 122k
< !DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
< HTML><HEAD>
< TITLE>404 Not Found</TITLE>
< /HEAD><BODY>
< H1>Not Found</H1>
The requested URL /index.php?option=com_cjlib was not found on this server.
< HR>
Setting the cronjob to include the s, still doesn't want to trigger the emails though, while running that URL in a browser immediately is triggering the mails in the queue.
The log of the cronjob shows this:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 28 0 28 0 0 20 0 --:--:-- 0:00:01 --:--:-- 22
0 28 0 28 0 0 20 0 --:--:-- 0:00:01 --:--:-- 22
{"error": ""url" required."}
While the browser is showing a number between [ ] if there is a mail waiting to be send.
What is going wrong with the configured cronjob?