D1gaTel Posted January 18, 2013 Report Share Posted January 18, 2013 Как сделать правильную генерацию 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 не обновляется.. Quote Link to comment Share on other sites More sharing options...
seobot Posted February 2, 2013 Report Share Posted February 2, 2013 (edited) Посмотри ошибки 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 February 2, 2013 by seobot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.