# 質問編集履歴

3

fix

2019/06/10 18:26

land

score12

test CHANGED
 File without changes
test CHANGED
 @@ -86,7 +86,7 @@ 86 86 87 87 ... 88 88 89 - def self.all_reload 89 + def self.reload 90 90 91 91 ... 92 92

2

crontabの内容を更新

2019/06/10 18:25

land

score12

test CHANGED
 File without changes
test CHANGED
 @@ -38,9 +38,25 @@ 38 38 39 39 40 40 41 + ```bash 42 + 43 + # crontab -l 44 + 45 + # Begin Whenever generated tasks for: /var/www/rails/myapp/config/schedule.rb at: 2019-06-09 13:33:40 +0000 46 + 47 + 0 3,11,19 * * * /bin/bash -l -c 'cd /var/www/rails/myapp && bundle exec bin/rails runner -e production '\''Item.reload'\'' >> /var/www/rails/myapp/log/cron.log 2>&1' 48 + 49 + 50 + 51 + # End Whenever generated tasks for: /var/www/rails/resale-manager/config/schedule.rb at: 2019-06-09 13:33:40 +0000 52 + 41 53 ``` 42 54 55 + 56 + 57 + ``` 58 + 43 - config/schedule.rb 59 + # config/schedule.rb 44 60 45 61 require File.expand_path(File.dirname(__FILE__) + "/environment") 46 62

1

pathを修正

2019/06/10 05:14

land

score12

test CHANGED
 File without changes
test CHANGED
 @@ -64,7 +64,7 @@ 64 64 65 65 ``` 66 66 67 - # models/item.rb 67 + # app/models/item.rb 68 68 69 69 class Item < ApplicationRecord 70 70