You are here

function drush_xmlsitemap_regenerate in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 xmlsitemap.drush.inc \drush_xmlsitemap_regenerate()
  2. 7.2 xmlsitemap.drush.inc \drush_xmlsitemap_regenerate()

Regenerate the sitemap files from existing data.

1 string reference to 'drush_xmlsitemap_regenerate'
xmlsitemap_drush_command in ./xmlsitemap.drush.inc
Implements hook_drush_command().

File

./xmlsitemap.drush.inc, line 38
Drush integration functions for the xmlsitemap module.

Code

function drush_xmlsitemap_regenerate() {
  $batch = xmlsitemap_regenerate_batch();
  batch_set($batch);
  drush_backend_batch_process();
}