vendor/assets/build/medias/rubies/examples/schedule.rb in atome-0.5.1.4 vs vendor/assets/build/medias/rubies/examples/schedule.rb in atome-0.5.1.9
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
_alarm_format = '2022,11,27,12,06,0'
-time_to_run = Time.now + 2
+time_to_run = Time.now + 3
puts 'event schedule'
a = element
a.schedule(time_to_run) do
- alert 'event executed'
+ puts 'event executed'
end