You are here

function xmlsitemap_engines_cron in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()
  2. 6 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()
  3. 7.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_cron()
  4. 2.x 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();
  }
}