diff --git a/google_image_sitemap.module b/google_image_sitemap.module
index 6e00152..530d819 100644
--- a/google_image_sitemap.module
+++ b/google_image_sitemap.module
@@ -351,3 +351,20 @@ function google_image_sitemap_node_type_delete($info) {
   db_delete('google_image_sitemap')
     ->condition('node_type', $info->type);
 }
+
+/**
+ * Implements hook_cron()
+ */
+function google_image_sitemap_cron() {
+
+  // Get image sitemap information from db
+  $query = db_select('google_image_sitemap', 'g');
+  $query->fields('g');
+  $result = $query->execute();
+
+  while ($gis_obj = $result->fetchObject()) {
+    // Eebuild the sitemap
+    _google_image_sitemap_build($gis_obj->sid);
+  }
+
+}
