The Cron Job feature in the XML Sitemaps Generator plugin allows you to automatically generate sitemaps at scheduled intervals. When enabled, the plugin will clear all caches and re-generate sitemaps according to the schedule you choose.
Enable Cron Job – Toggle this option to turn the feature on or off.
Cron Job Run Time – Select how often the sitemap should be generated. For example:
- Once Hourly
- Twice Daily
- Once Daily
- Once Weekly
How It Works
- The Cron Job runs at the specified interval using the WordPress Cron system.
- At each run, it clears all caches and regenerates the sitemaps automatically.
- You can view the next scheduled run time under Cron Job Next Run.
Example: 2025-08-14 13:15:40
Advanced Usage
For improved reliability, you can move the Cron Job to your system’s task scheduler. Follow the official guide here: Hooking WP Cron into the System Task Scheduler.