How to make Cron Job to work for 4rss Joomla component? Cron Job working for 4rss v.1.3 Joomla component.

 
Sign up for PayPal and start accepting credit card payments instantly.

Cron Job working for 4rss v.1.3 joomla component.

6 February 2012 - 6/02/2012

This short article is for all the people having problems with the cron job of joomla component 4rss.

I had a lot of trouble making 4rss cron job to work, but in the end I've found the solution.

 

Here is what you have to do to make the cron job to work in 4rss:

1. First of all you should go inside your Joomla admin and set at the 4rss component on the "4RSS CRON" tab the following:

Setup Cron Path:

/home/user_name/public_html

This setting is very important. DON'T FORGET the user_name inside the cron path.

Otherwise you will receive this kind of errors:

"Warning: include_once(/home/public_html/configuration.php): failed to open stream: No such file or directory in /home/user_name/public_html/administrator/components/com_4rss/cronjob_4rss/cronjob.php on line 18

Warning: include_once(): Failed opening '/home/public_html/configuration.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user_name/public_html/administrator/components/com_4rss/cronjob_4rss/cronjob.php on line 18

Warning: require_once(/home/public_html/includes/defines.php): failed to open stream: No such file or directory in /home/user_name/public_html/administrator/components/com_4rss/cronjob_4rss/cronjob.php on line 32

Fatal error: require_once(): Failed opening required '/home/public_html/includes/defines.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user_name/public_html/administrator/components/com_4rss/cronjob_4rss/cronjob.php on line 32"

2. Inside the cpanel go to cron job and create a new cron.

This is the right command for the cron job:

/usr/local/bin/php -q /home/user_name/public_html/administrator/components/com_4rss/cronjob_4rss/cronjob.php

The permission to this path should be set to 755 or 777.

This command works for a PHP installed as CGI, and not as an Apache module. If this doesn't work you should contact your hosting company and ask them which is the path to your php. It may be different than "/usr/local/bin/php".

You should set your e-mail inside the Cron Email field.

The e-mail you receive should look like this:

"Cronjob v2.0 Starting job at: 03/23/2010 05:45:02
Ended job at: 03/23/2010 05:45:02"

Good luck!

6 February 2012 - 6/02/2012



 

Comments 

 
0 #4 2011-04-27 16:41
please i want to know about it more detail.
can you help me to now...i got much information but more detail of the steps can help more.
Quote
 
 
0 #3 2011-04-27 16:37
I dont know about anything about this but this article gave me so much information...i am glad to the writer of the article.
thanks
Quote
 
 
0 #2 2010-10-20 14:51
Thank you for sharing.I like this website very much.
Quote
 
 
0 #1 2010-07-26 01:08
Thanks for this. It worked like a charm.
Quote
 

Add comment


Security code
Refresh