From d48dab10251af6e3e4a795d7d24d52c4451a82aa Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 14 Dec 2023 23:14:17 -0500 Subject: Output logging in cronjob pls --- config/schedule.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/schedule.rb b/config/schedule.rb index 987b14a..7c62705 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -1,3 +1,5 @@ +job_type :rake_loud, "cd :path && :environment_variable=:environment bundle exec rake :task :output" + every 1.day, at: "12:00am" do - rake "wittle:generate_puzzles" + rake_loud "wittle:generate_puzzles" end -- cgit 1.4.1