![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Newbie ![]() Group: Members Posts: 10 Joined: 21-April 17 Member No.: 2,473 ![]() |
I have 6 feeds set-up in the Aggregator Scraper, version 1.9.9. My goal is to have 5 articles post from each feed every other hour at 5 minute intervals so they are not pulling at the same time. I have set-up my cron jobs as follows: Feed #1 5 */2 * * * Feed #2 10 */2 * * * Feed #3 15 */2 * * * and so on. The cron job setting on cPanel is *5 * * * * This morning all the feeds ran at approximately 7:33 with no problem. However, the feeds have not ran since this time. Prior to setting up my cron jobs, all feeds posted perfectly with no issues when I manually imported them. I am on Joomla 3.7.2, PHP version 5.6.30, max execution time is 60 seconds, and memory limit 128M. Thank you for your assistance. Kat |
|
|
![]()
Post
#2
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,168 Joined: 29-April 09 From: Sofia Member No.: 1 ![]() |
Kat, the cron job setting on cPanel must be:
1. to execute cron every 5 minute: Код */5 * * * * 2. or to execute cron on 5-th minute every hour: Код 5 * * * * On this screen are more examples: ![]() -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
![]()
Post
#3
|
|
Newbie ![]() Group: Members Posts: 10 Joined: 21-April 17 Member No.: 2,473 ![]() |
Kat, the cron job setting on cPanel must be: 1. to execute cron every 5 minute: CODE */5 * * * * 2. or to execute cron on 5-th minute every hour: CODE 5 * * * * On this screen are more examples: ![]() Good morning, Still not working. Any other things I can check? Thank you. |
|
|
![]()
Post
#4
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,168 Joined: 29-April 09 From: Sofia Member No.: 1 ![]() |
Switch on email report for crons - in both cpanel cron options and in component to see when cron is executed and are feeds imported.
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
![]()
Post
#5
|
|
Newbie ![]() Group: Members Posts: 10 Joined: 21-April 17 Member No.: 2,473 ![]() |
Switch on email report for crons - in both cpanel cron options and in component to see when cron is executed and are feeds imported. Feeds have not run since yesterday, 6/14, at 10:18 am. Could it be the hosting service I am using? I REALLY need this component to work. I have 16 other sites I need to install your product on. Thank you for your patience and your help. Kat |
|
|
![]()
Post
#6
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,168 Joined: 29-April 09 From: Sofia Member No.: 1 ![]() |
Kat, if you think your host provider have problem with crons, try this free cron job service: http://3dwebdesign.org/forum/free-cron-ser...cron-jobs-t2035
You have probably done these steps, but anyway I will post it again here to be sure: 1. Create file with name mycron.php. Code for this php file: Код <?php $a = file_get_contents('http://yoursite.com/administrator/components/com_aggregator/cron.aggregator.php'); ?> 2. Upload file mycron.php in your public_html. Create cronjob in your cpanel with command: Код /usr/local/bin/php -q /relative path to public_html/mycron.php >> /dev/null 3. Set cron to run in your control panel (cpanel or other) every 5 or 3 minutes (recommended). In Unix Style view this should be: Код */3 * * * * or Код */5 * * * * 4. Configure your feeds. 5. Test every feed manual! 6. Try to import every feed without extras like scraper and image download first! More functions switched on in every feed = more load for your server! 7. When you are sure that all feeds configuration is OK, configure cron part. Before using cron, please, read this thread: Cron Job configuration and server load. -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
![]()
Post
#7
|
|
Newbie ![]() Group: Members Posts: 10 Joined: 21-April 17 Member No.: 2,473 ![]() |
Kat, if you think your host provider have problem with crons, try this free cron job service: http://3dwebdesign.org/forum/free-cron-ser...cron-jobs-t2035 You have probably done these steps, but anyway I will post it again here to be sure: 1. Create file with name mycron.php. Code for this php file: CODE <?php $a = file_get_contents('http://yoursite.com/administrator/components/com_aggregator/cron.aggregator.php'); ?> 2. Upload file mycron.php in your public_html. Create cronjob in your cpanel with command: CODE /usr/local/bin/php -q /relative path to public_html/mycron.php >> /dev/null 3. Set cron to run in your control panel (cpanel or other) every 5 or 3 minutes (recommended). In Unix Style view this should be: CODE */3 * * * * or CODE */5 * * * * 4. Configure your feeds. 5. Test every feed manual! 6. Try to import every feed without extras like scraper and image download first! More functions switched on in every feed = more load for your server! 7. When you are sure that all feeds configuration is OK, configure cron part. Before using cron, please, read this thread: Cron Job configuration and server load. Here again. I re-checked all the steps and I have completed each. Please review the string below which outlines another user's issue with HostGator. I use HostGator. As I mentioned earlier, I am on version 1.9.9, but I am more than willing to upgrade to the open source version without ion cube if it will solve my problems. http://3dwebdesign.org/forum/strange-behav...hostgator-t2301 Thank you. |
|
|
![]()
Post
#8
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,168 Joined: 29-April 09 From: Sofia Member No.: 1 ![]() |
Kat, I can't confirm that hostgator is the problem. You must check if component's requirements for your version are achieved - mbstring and ioncube loader.n If ioncube is not working or is not configured properly, all component's features will not work, not only cron.
If component's requirements are ok, try to increase max execution time to 120 seconds, and memory limit to 160 or better to 256MB. Keep in mind that the main setting that limit the most of imports is max execution time, not memory. If in your configured rss feed you have switched on function "download images", import will be very slow. P.S. If you want to upgrade to Open Source version without limits, just send me email (admin attttt 3dwebdesign.org) -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
![]() ![]() |
Similar Topics
Topic | Replies | Topic Starter | Views | Last Action | |
---|---|---|---|---|---|
![]() |
Only Getting One Email Per Import Only getting one email per import and Gmail import just times out |
1 | dazza98 | 2,590 | 14th January 2013 - 07:15 AM Last post by: Web Design Seo |
![]() |
Lo-Fi Version | Time is now: 10th December 2019 - 11:53 AM |