diff options
author | varac <varacanero@zeromail.org> | 2016-08-15 14:14:32 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-08-15 14:14:32 +0200 |
commit | 21a91cbc9681a2f3f4615e7e467febf1c8f4f6e6 (patch) | |
tree | ef26732b75858c5fb17925bc861f1ee8b4c43bf2 /templates/job | |
parent | e56e58562bd1972df8e8d386b30175f6b12430ac (diff) | |
parent | ed5463dce052852a5ace2d11a0265fff2244e60e (diff) |
Merge tag 'v1.3.6' into dashing_io
Diffstat (limited to 'templates/job')
-rw-r--r-- | templates/job/%name%.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/job/%name%.rb b/templates/job/%name%.rb new file mode 100644 index 0000000..76f221a --- /dev/null +++ b/templates/job/%name%.rb @@ -0,0 +1,4 @@ +# :first_in sets how long it takes before the job is first run. In this case, it is run immediately +SCHEDULER.every '1m', :first_in => 0 do |job| + send_event('widget_id', { }) +end
\ No newline at end of file |