By Peter Neumann on Saturday, 22 December 2018
Posted in General
Likes 0
Views 697
Votes 0
Hi there,
you gave me a pretty good description on how to set up cron jobs for easyblog in plesk.
I have also changed php code like described,but there must be something I do wrong.

http://prntscr.com/lxzy65
http://prntscr.com/lxzyu3
http://prntscr.com/lxzzol
Thank you Arlex:D
·
Thursday, 27 December 2018 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

[gist type="php"]
/var/www/vhosts/http://www.in-mymind.com/httpdocs/
[/gist]
Can you check this above root path to your site Joomla root folder is it the correct path?

And you can try click run now and see what is the response you getting?

May i know do you have update this cron.php (JoomlaFolder/components/com_easyblog/cron.php) file yet?

What you need to do is modify this following code to your current domain name :


$host = 'site.com';


Replace to :


$host = 'http://www.in-mymind.com';
·
Saturday, 22 December 2018 09:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Good morning Arlex and Merry Christmas,

It works and one of the problems where the settings in the pannel. Here is the screenshot:

http://prntscr.com/lza1v0
·
Tuesday, 25 December 2018 17:44
·
0 Likes
·
0 Votes
·
0 Comments
·
I've help you configured to use "Fetch a URL" option and set this following URL into your cronjob.

It should automatically execute this cronjob on your site every 5 minute.

[gist type="php"]
https://www.in-mymind.com/index.php?option=com_easysocial&cron=1
[/gist]
·
Wednesday, 26 December 2018 10:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex:D

would you explain please the difference between " Run a command and fetch URL? And perhaps why it should be run in short intervals like 1 hour.?

Thank you Arlex for your kind work.
·
Thursday, 27 December 2018 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

would you explain please the difference between " Run a command and fetch URL?

Basically that process is almost the same, the different between this is :
1. Run a command
- It will execute the command through your PHP server.

2. fetch URL
- it will automatically run that URL from the server.

In other word, use either one method also can work properly, but depend on your current server configuration.

If guest user access your site required to enter username and password for the security layer, 'fetch URL' method can't be use.

If your PHP server only allow certain directory folder can be access by public, so this 'Run a command' method is not suitable to use.

And perhaps why it should be run in short intervals like 1 hour.?

May i know what is the reason need to execute this every 1 hour?

Because your site user unable to receive those email notification immediately if someone comment in his stream item or other action.

By the way, you can configure this cron interval from the cronjob configuration page.
·
Thursday, 27 December 2018 16:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 27 December 2018 16:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post