How to configure cron job for self-directed automation

1 year 3 months ago #7 by Pablo
Hi again:

Trying to install PEAR package HTTP/Request2 in two differente CPanel providers:

WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"
pear/PEAR dependency package "pear/Archive_Tar" installed version 1.4.14 is not the recommended version 1.4.4, but may be compatible, use --force to install
pear/HTTP_Request2 requires package "pear/PEAR" (version >= 1.9.2)
No valid packages found
Install failed

I have PEAR 1.10.10 so... I think this package is broken.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #8 by Pablo
I can install HTTP/Request, it is working.

The problem is that script nspro_trigger_for_clients.php doesn't work with version 1 of the library.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #9 by Christopher Mavros
Replied by Christopher Mavros on topic How to configure cron job for self-directed automation
Hi again Pablo.
I have just replaced this file with a newer one that uses curl instead of HTTP/Request2.

Please try this one and let me know if you need any further assistance.
Thanks again!

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

1 year 3 months ago #10 by Pablo
Thank you, Christopher!

This file shows some info but it does not send emails.

If I call the file with my browser, it shows key (twice) and website but no results.

One question: I schedule date & time in a newsletter, for example, for today at 5 PM. When I go to newsletters list, I see at column Sending Status: scheduled at 3 PM. Do you know why?

Maybe it helps that Joomla location is configured for Madrid (in global configuration).

Best regards

Please Log in or Create an account to join the conversation.

1 year 3 months ago #11 by Pablo
Ok, it is sending scheduled emails!

Now, I know why it is showing the key twice: my fault, I wrote it in $result variable in line 10.

I have disabled Automatic Bounced Email Check option. If it is enabled, component doesn't send scheduled emails. I checked bouncelog.txt but no clue why fails.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #12 by Christopher Mavros
Replied by Christopher Mavros on topic How to configure cron job for self-directed automation
Thank you for your precious feedback.
Have you configured your bounce email options?

If yes, you can manually run a check for bounced emails from the Subscribers view in the back-end.
If it fails, you will get some error details to fix it.

Thanks again!

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros