스케쥴러 시작/정기 기능 추가

This commit is contained in:
2025-04-17 06:42:51 +09:00
parent 4b9c59b6e0
commit f9cdd77e7a
7 changed files with 47 additions and 14 deletions

View File

@@ -8,6 +8,6 @@
# MovieGenre.find_or_create_by!(name: genre_name)
# end
(0..23).each_with_index do |h, index|
Schedule.create!(hour: h, temperature: index)
(0..23).each do | h |
Schedule.create!(hour: h, temperature: 15.0)
end