Jump to content

SEO CRON (sitemap) 3.4.x


 Share

Recommended Posts

Как сделать правильную генерацию sitemap через cron ?
В компоненте IP.SEO было всё просто, были подсказки :)

Сделал задачи так:

 

0 0,12 * * * /usr/bin/php /home/***/public_html/interface/task.php xxxxxКОД_КОТОРЫЙ_ДАЛ_ИПБxxxxxxxxx
0 0,12 * * * /usr/bin/php /home/***/public_html/admin/applications/core/tasks/sitemapgenerator.php

Карту генерирует sitemap_core_topics.xml.gz 18.01 2013 2:00:16, но в корне форума sitemap.xml не обновляется..

Link to comment
Share on other sites

  • 3 weeks later...

Посмотри ошибки mysql. у меня выдет

 

 Date: Sat, 02 Feb 2013 18:04:02 +0000 Error: 1054 - Unknown column 'event_title_seo' in 'field list' IP Address: - /var/www/site/data/www/site.ru/interface/task.php ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT event_id, event_title_seo, event_start_date FROM cal_events WHERE event_end_date < 1359828242 AND ( ( FIND_IN_SET(1,event_calendar_id) ) ) AND ( ( FIND_IN_SET(2,event_perms) ) OR ( event_perms='*' ) ) .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications/core/tasks/sitemapgenerator.php | [sitemap_core_calendar].generate | 655 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/sources/classes/class_taskmanager.php | [task_item].runTask | 208 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | interface/task.php | [class_taskmanager].runTask | 50 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
Edited by seobot
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...