From c63c8f1698e8c059e286fb49ba0264e4336a6e33 Mon Sep 17 00:00:00 2001 From: Daniel Beauchamp Date: Tue, 24 Jul 2012 15:25:22 -0400 Subject: Initial version. 0.1.0 Release --- templates/project/jobs/sample.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/project/jobs/sample.rb (limited to 'templates/project/jobs') 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 -- cgit v1.2.3