Version 1
[yaffs-website] / vendor / drush / drush / tests / resources / queue_script-D7.php
diff --git a/vendor/drush/drush/tests/resources/queue_script-D7.php b/vendor/drush/drush/tests/resources/queue_script-D7.php
new file mode 100644 (file)
index 0000000..66012e5
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+// Create a new feed.
+aggregator_save_feed(array(
+  'title' => 'test',
+  'url' => 'http://drupal.org/project/issues/rss/drupal?categories=All',
+  'refresh' => 3600,
+  'block' => 5,
+));
+
+// Let cron call DrupalQueue::createItem() for us.
+aggregator_cron();