summaryrefslogtreecommitdiff
path: root/templates/project/jobs
diff options
context:
space:
mode:
authorDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-07-24 15:25:22 -0400
committerDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-07-24 15:30:32 -0400
commitc63c8f1698e8c059e286fb49ba0264e4336a6e33 (patch)
tree372fa45a424f4de805112995be3e0074ce9e0125 /templates/project/jobs
parent9f625f927aadf6d9574bd968d2cfc29dde5551c0 (diff)
Initial version. 0.1.0 Release
Diffstat (limited to 'templates/project/jobs')
-rw-r--r--templates/project/jobs/sample.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/project/jobs/sample.rb b/templates/project/jobs/sample.rb
new file mode 100644
index 0000000..3d7bfcd
--- /dev/null
+++ b/templates/project/jobs/sample.rb
@@ -0,0 +1,12 @@
+SCHEDULER.every '5s' do
+ sayings = [
+ "That's one trouble with dual identities, Robin. Dual responsibilities.",
+ "You know your neosauruses well, Robin. Peanut butter sandwiches it is.",
+ "You're far from mod, Robin. And many hippies are older than you are.",
+ "We're still over land, Robin, and a seal is an aquatic, marine mammal.",
+ "True. You owe your life to dental hygiene.",
+ "This money goes to building better roads. We all must do our part."
+ ]
+
+ send_event('sample', { quote: sayings.sample })
+end \ No newline at end of file