Welcome Guest ( Log In | Register )

 Forum Rules Aggregators support
 
Reply to this topicStart new topic
> Running A Cronjob With Setcronjob.com, Using An External Cronjob, Request for help to get cronjob runs to work
masterchef
post Nov 29 2010, 09:56 AM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 26-November 10
Member No.: 392



I am new to 3D Aggregator - So far I am very impressed - Installed easily and runs very well and fast if run with the manual button.

Unfortunately I have recently been forced to move my site from Hostpapa for inadvertently violating their TOS by using excessive resources trying to get a similar automatic feed publishing Joomla extension to work. I now discover to late that my new host Fatcow does not support cronjobs.

I already use www.setcronjob.com to run cronjobs on my wordpress based sites and have been trying to get setcronjob.com to run cronjobs calling 3D Aggregator without success.

I have installed my Joomla site in a sub directory off the root and enabled and so have set my cronjob call to

Код
http://domain/administrator/components/com...daggregator.php


this returns the error message "This URL returns "HTTP/1.1 404 Not Found" instead of 200 OK."

If I set the call to "http://domain/administrator/components/com_3daggregator" the cronjob appears happy and runs successfully and reports a successful run but nothing is published.

Any suggestions before I either try installing Joomla in the root or changing hosting companies again?
Go to the top of the page
 
+Quote Post
avesovum
post Nov 29 2010, 10:07 AM
Post #2


Newbie
*

Group: Members
Posts: 5
Joined: 14-October 10
Member No.: 298



Цитат(masterchef @ Nov 29 2010, 10:56 AM) *
I am new to 3D Aggregator - So far I am very impressed - Installed easily and runs very well and fast if run with the manual button.

Unfortunately I have recently been forced to move my site from Hostpapa for inadvertently violating their TOS by using excessive resources trying to get a similar automatic feed publishing Joomla extension to work. I now discover to late that my new host Fatcow does not support cronjobs.

I already use www.setcronjob.com to run cronjobs on my wordpress based sites and have been trying to get setcronjob.com to run cronjobs calling 3D Aggregator without success.

I have installed my Joomla site in a sub directory off the root and enabled and so have set my cronjob call to

Код
http://domain/administrator/components/com...daggregator.php


this returns the error message "This URL returns "HTTP/1.1 404 Not Found" instead of 200 OK."

If I set the call to "domain/administrator/components/com_3daggregator" the cronjob appears happy and runs successfully and reports a successful run but nothing is published.

Any suggestions before I either try installing Joomla in the root or changing hosting companies again?



Hi masterchef,

I run a hosting company in th UK. And use aggregator myself. Cron and curl are supported for aggregator on our servers.
Код
http://www.mediastorm-webhosting.com


We won't ask you to move your site for excessive bandwidth use. If you sign upto one of our hosting plans just submit a support ticket asking for curl to be enabled on your account and we will activate for you.

If you require any more information just contact us through our contact us form. Hope you get sorted.

Regards

Tony

This post has been edited by 3D Web Design: Nov 29 2010, 01:36 PM
Reason for edit: dont promote here
Go to the top of the page
 
+Quote Post
masterchef
post Nov 29 2010, 01:10 PM
Post #3


Newbie
*

Group: Members
Posts: 6
Joined: 26-November 10
Member No.: 392



Цитат(avesovum @ Nov 29 2010, 10:07 AM) *
Hi masterchef,

I run a hosting company in th UK. And use aggregator myself. Cron and curl are supported for aggregator on our servers.
Код
http://www.mediastorm-webhosting.com


We won't ask you to move your site for excessive bandwidth use. If you sign upto one of our hosting plans just submit a support ticket asking for curl to be enabled on your account and we will activate for you.

If you require any more information just contact us through our contact us form. Hope you get sorted.

Regards

Tony


Hi Tony,

my problem with Hostpapa was violating their TOS by using excessive resources unintentionally while trying to get a similar product to aggregator to run by making external cronjob calls as I had been unable to get their cronjob system to work for me and the support appeared unable or unwilling to assist. I still currently host a wordpress site their.

How would you deal with me in a similar situation?

Moving hosts for the second time in just over a week seems excessive let alone the waste of my money!

Paul

This post has been edited by 3D Web Design: Nov 29 2010, 01:36 PM
Go to the top of the page
 
+Quote Post
Web Design Seo
post Nov 29 2010, 01:37 PM
Post #4


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



avesovum, dont promote here some websites with links.

You can post example of your services in Hosting and Domains forum

Explain your services in this forum, but dont post links, please.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
masterchef
post Nov 29 2010, 02:21 PM
Post #5


Newbie
*

Group: Members
Posts: 6
Joined: 26-November 10
Member No.: 392



All very well telling him off but still no solution to my problem
Go to the top of the page
 
+Quote Post
Web Design Seo
post Nov 29 2010, 02:33 PM
Post #6


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



masterchef, how big is Your site?

Every type of our Aggregators work unproblematic with over 50 feeds imported daily and over 1000 content items imported daily at host for 6 euro monthly.

You must configure site to import not many rss feeds at one time, schedule feeds in this way:
- feed 1 is imported now
- feed 2 is imported after 30 minutes
- feed 3 is imported after 70 minutes and so.

If your site is really huge (over 20000-30000 articles) you must migrate to vps server.

P.S. For big sites that used aggregator keep in mind that if you use sef urls rewriting component load to server will be higher 20-50%. Use joomla sef better.


About cronjob: Open this url address in your browser and post here result:
Код
http://your-joomla-aggregator-site.com/administrator/components/com_3daggregator/cron.3daggregator.php


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
masterchef
post Dec 1 2010, 08:51 PM
Post #7


Newbie
*

Group: Members
Posts: 6
Joined: 26-November 10
Member No.: 392



Here is a code contained in the file cron.3daggregator.php

<?php

define( '_JEXEC', 1 );

define('DS', DIRECTORY_SEPARATOR);
define('JPATH_BASE', substr(__FILE__,0,strrpos(__FILE__, DS."components")));
define('JPATH_COMPONENT', JPATH_BASE .DS.'components'.DS.'com_3daggregator');

require_once( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once( JPATH_BASE .DS.'includes'.DS.'framework.php' );
require_once( JPATH_BASE .DS.'includes'.DS.'helper.php' );
require_once( JPATH_BASE .DS.'includes'.DS.'toolbar.php' );

$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();

require_once ( JPATH_COMPONENT.DS.'controller.php');
require_once ( JPATH_COMPONENT.DS.'helpers'.DS.'3daggregator.php');
require_once ( JPATH_COMPONENT.DS.'helpers'.DS.'cron.php');

define('SPIE_CACHE_AGE', 60*10);


require_once( JPATH_COMPONENT.DS.'inc'.DS.'xajax.inc.php');
require_once( JPATH_COMPONENT.DS.'inc'.DS.'simplepie'.DS.'simplepie.inc');

JRequest::setVar('task','cron','get');

$controller = new AggregatorController();

$controller->importcron();

echo 'Import finished';
?>

I am re-establishing my site so the database only contains a few articles at this time but will eventually contain 300 - 400 feeds and may thousands of articles.
Go to the top of the page
 
+Quote Post
Web Design Seo
post Dec 2 2010, 01:58 AM
Post #8


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



masterchef, other way to lower server load is: you must select to publish content items for a certain period of time. This is configured from option: "Publish duration (days)" - in Publish tab options.

Example: you enter 30 days. All imported content will be active 30 days after this moment and at 31 day will be going to inactive mode.

After this install this plugin in your system, guide is here: plugin that automate deletion of expired articles

When content items going to inactive, plugin delete automatically them, in this way your database will be stay small.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
masterchef
post Dec 3 2010, 01:08 PM
Post #9


Newbie
*

Group: Members
Posts: 6
Joined: 26-November 10
Member No.: 392



Solving my own problem.

After careful checking I realized that the file cron.3daggregator.php was somehow missing from the com_3daggregator directory. I uninstalled the extension, deleted the directory and the re-installed the extension to find it works extremely well with cronjob calls from www.setcronjob.com which I can thoroughly recommend. They offer free accounts which should suit most people or for a very modest amount you can upgrade to a professional account.

I have yet however to get my webhost`s cron panel to run 3daggregator, I`m guessing that I have not yet got the file path syntax correct for the server, never mind - if it aint broke why fix it - I`ll continue to use www.setcronjob.com as its so easy
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts Pinned: Without Support To 4 January 2016
Happy new 2016 Year
0 Web Design Seo 372,667 31st December 2015 - 01:01 PM
Last post by: Web Design Seo
No New Posts Without Support To 6 January 2014
0 Web Design Seo 83,194 20th December 2013 - 03:14 PM
Last post by: Web Design Seo
No New Posts Without Support To 14 August 2013
0 Web Design Seo 105,848 1st August 2013 - 06:25 AM
Last post by: Web Design Seo
No New Posts Without Support To 7 May 2013
Bulgarian national holidays
1 Web Design Seo 74,644 30th April 2013 - 09:46 AM
Last post by: Web Design Seo
No New Posts External Cronjob
My server does not allow cron jobs ...
3 Hermy 15,388 24th December 2012 - 07:56 AM
Last post by: Web Design Seo
No New Posts Without Support To 3 January 2013
0 Web Design Seo 48,542 21st December 2012 - 12:07 PM
Last post by: Web Design Seo
No New Posts Without Support To 28 May 2012
0 Web Design Seo 49,126 24th May 2012 - 11:27 AM
Last post by: Web Design Seo
No New Posts Without Support To 3 January 2012
0 Web Design Seo 51,088 30th December 2011 - 01:49 PM
Last post by: Web Design Seo
No New Posts Using Yahoo Pipes : Problem Import
problem using yahoo pipes
1 novoweb 5,332 25th November 2010 - 10:16 AM
Last post by: 3D Web Design
No new Pinned: Cronjob Error In Aggregators
error in cronjobs
9 stiefen 30,994 23rd September 2010 - 07:24 PM
Last post by: 3D Web Design


 



RSS Lo-Fi Version Time is now: 1st June 2026 - 10:06 PM