By Mark Klinkhammer on Saturday, 11 February 2017
Posted in General
Replies 16
Likes 0
Views 501
Votes 0
I am in the process of setting up my Cronjob for EasySocial. I have attached the screenshots from Plesk.
I want to make sure I set this up properly. My server supports wget.

1) Select "Run a Command" -
Command:
/bin/wget -O /dev/null "http://agingparentpartners.com/index.php?option=com_easysocial&cron=1";

2) Not sure how to set this to every 5 minutes... which seems to be recommended.

3) Set "Notify" to "Errors Only"? It seems like I would not want to get an email every 5 minutes forever! Is it OK to set it to "Errors Only"?

4) Beyond that do I need to set up any other files on the Joomla end?

Then I assume I need to do the same with my EasyBlog and EasyDiscuss?

Thanks for you help...
Hey there,

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

I think you should follow this similar documentation from Easyblog -> https://stackideas.com/docs/easyblog/administrators/cronjobs/plesk-setup

1. Consult with your hosting provider what is your root path link to JoomlaRootFolder/components/com_easysocial/cron.php
So cron command should be :

// Note : this part '/var/www/vhosts/http://www.site.com' have to consult with your hosting
php -q /var/www/vhosts/http://www.site.com/components/com_easysocial/cron.php


2. Yes, set every 5 minute should be okay, and you can set only notify to you if there got hitting any error when the cron process.

3. Remember open this file -> JoomlaRootFolder/components/com_easysocial/cron.php > edit the site.com to your domain name (screenshot : http://take.ms/CQihA )

Hope this help.
·
Saturday, 11 February 2017 10:47
·
0 Likes
·
0 Votes
·
0 Comments
·
A few more questions regarding this.

1) To set at "Every 5 Minutes" in the Plesk format.... do I select hourly and then add a 5 After that?

2) There does not appear to be a "cron.php" file in my EasyDiscuss folder like the others?

3) I want to run EasySocial off Sub-Domains for different locations. Do I need a different CronJob for each subdomain? And how would I alter the command If I need to...

php -q /var/www/vhosts/http://http://www.site.com/components/com_easysocial/cron.php


Thanks Again...

Mark
·
Sunday, 12 February 2017 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
My hosting company said to RUN EVERY 5 MINUTES:


Select CRON STYLE with description as: */5 * * * * php -q /var/www/vhosts/agingparentpartners.com/httpdocs/cron.php

So, I got number 1) answered.... if that looks good to you guys.
·
Sunday, 12 February 2017 02:03
·
0 Likes
·
0 Votes
·
0 Comments
·
I am slowly getting this all figured out with my Host Company. I still don't have the EasyDiscuss cron.php file. Could you please attach it for me?

Thanks
Mark
·
Sunday, 12 February 2017 04:32
·
0 Likes
·
0 Votes
·
0 Comments
·
I already attached that Easydiscuss cron.php in my reply.

And I believe your root path shouldn't show the http protocol, can you check with your hosting following root path is it correct if without http protocol?


*/5 * * * * php -q /var/www/vhosts/agingparentpartners.com/httpdocs/cron.php
·
Sunday, 12 February 2017 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
You were right... it was correct without the html. Found that out when testing. And I assume the attached file is for EasyDiscuss?

One more quick question before close. What do I have access to if I don't renew my subscription.

Support Documentation?
Any Support?
·
Sunday, 12 February 2017 23:50
·
0 Likes
·
0 Votes
·
0 Comments
·
You were right... it was correct without the html. Found that out when testing. And I assume the attached file is for EasyDiscuss?

Yes, that attached file cron.php is under Easydiscuss.

One more quick question before close. What do I have access to if I don't renew my subscription.

Support Documentation?
Any Support?

If the user license already expired, they will NOT able to :
- access documentation page
- request for support
- update our product every release version
- download the language from backend regarding our product
·
Monday, 13 February 2017 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I am attempting to run a CronJob off a sub-domain. I adjusted the command that works for the domain... but does not work.

COMMAND:
php -q /home/httpd/vhosts/cv.AGINGPARENTPARTNERS.COM/httpdocs/components/com_easysocial/cron.php

ERROR:
Could not open input file: /home/httpd/vhosts/cv.AGINGPARENTPARTNERS.COM/httpdocs/components/com_easysocial/cron.php

Any Ideas?
·
Tuesday, 14 February 2017 08:41
·
0 Likes
·
0 Votes
·
0 Comments
·
It put that in wrong.... the command is:

php -q /home/httpd/vhosts/cv.AGINGPARENTPARTNERS.COM/httpdocs/components/com_easysocial/cron.php

the http:// was not in my command as shown above.
·
Tuesday, 14 February 2017 08:44
·
0 Likes
·
0 Votes
·
0 Comments
·
It keeps putting it in: http:// is not in my command. And actually I did test it that way, but it did not work.
·
Tuesday, 14 February 2017 08:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Noted, it seems like that http:// auto generated from our forums.

I think it would be best is provide us with your Joomla backend and Cpanel access at http://stackideas.com/dashboard/site so we can better have a check?
·
Tuesday, 14 February 2017 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
l updated the FTP for my site in my dashboard. There was not a secure way to give you my joomla info. Should I start another post to input that. Keep in mind, that this is for a Cron Job on cv.agingparentpartners.com
I have my host company working on this too!
·
Wednesday, 15 February 2017 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
I am running this and it seems to be working without error. Is this something that will work for the SubDomain Cronjob?

This command works:

/usr/bin/wget -O /dev/null "http://cv.agingparentpartners.com/index.php?option=com_easysocial&cron=1";
·
Wednesday, 15 February 2017 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
My hosting company did get it to work.... but still curious if the command above accomplishes the same thing?
·
Thursday, 16 February 2017 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

Thanks for getting back to us that cron command is working now.

If I recall correctly previouslythose Plesk cronjob do not have support wget, so I advise you to use PHP execute that cron.php file.

Since you already mentioned when you using following cron command, it work fine :



/usr/bin/wget -O /dev/null "http://cv.agingparentpartners.com/index.php?option=com_easysocial&cron=1"


Mean your server can support wget and able to use above cron command on your server.
·
Thursday, 16 February 2017 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post