diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-14 23:14:17 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-14 23:14:17 -0500 |
commit | d48dab10251af6e3e4a795d7d24d52c4451a82aa (patch) | |
tree | ecb53a2ec046576b7614758d865a26af522de49b /config | |
parent | 20501a0253b4b5bd346f61c28e396d5eab7a2c85 (diff) | |
download | wittle-d48dab10251af6e3e4a795d7d24d52c4451a82aa.tar.gz wittle-d48dab10251af6e3e4a795d7d24d52c4451a82aa.tar.bz2 wittle-d48dab10251af6e3e4a795d7d24d52c4451a82aa.zip |
Output logging in cronjob pls
Diffstat (limited to 'config')
-rw-r--r-- | config/schedule.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
1 | job_type :rake_loud, "cd :path && :environment_variable=:environment bundle exec rake :task :output" | ||
2 | |||
1 | every 1.day, at: "12:00am" do | 3 | every 1.day, at: "12:00am" do |
2 | rake "wittle:generate_puzzles" | 4 | rake_loud "wittle:generate_puzzles" |
3 | end | 5 | end |