summaryrefslogtreecommitdiff
path: root/templates/project/jobs
diff options
context:
space:
mode:
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