You are here

function xmlsitemap_engines_cron in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()
  2. 6.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()
  3. 6 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()
  4. 7.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()

Implements hook_cron().

1 call to xmlsitemap_engines_cron()
XmlSitemapEnginesFunctionalTest::submitEngines in xmlsitemap_engines/tests/src/Functional/XmlSitemapEnginesFunctionalTest.php
Check if sitemaps are sent to searching engines.

File

xmlsitemap_engines/xmlsitemap_engines.module, line 44
Main file for the XML sitemap engines.

Code

function xmlsitemap_engines_cron() {
  if (xmlsitemap_engines_submit_access()) {
    xmlsitemap_engines_submit_engines();
  }
}