質問編集履歴
1
ログを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,8 +46,36 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
+
```
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
```Ruby
|
49
54
|
|
50
55
|
|
51
56
|
|
52
57
|
|
58
|
+
|
59
|
+
$ sudo tail /var/log/cron
|
60
|
+
|
61
|
+
# 実行結果
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
Sep 6 21:01:01 xxxxx CROND[9945]: (root) CMD (cd /home/rails/sample && /usr/local/rbenv/shims/ruby regularly.rb)
|
66
|
+
|
67
|
+
Sep 6 21:01:01 xxxxx CROND[9946]: (root) CMD (run-parts /etc/cron.hourly)
|
68
|
+
|
69
|
+
Sep 6 21:01:01 xxxxx run-parts(/etc/cron.hourly)[9946]: starting 0anacron
|
70
|
+
|
71
|
+
Sep 6 21:01:01 xxxxx run-parts(/etc/cron.hourly)[9965]: finished 0anacron
|
72
|
+
|
73
|
+
Sep 6 21:02:01 xxxxx CROND[9993]: (root) CMD (cd /home/rails/sample && /usr/local/rbenv/shims/ruby regularly.rb)
|
74
|
+
|
75
|
+
Sep 6 21:03:01 xxxxx CROND[10027]: (root) CMD (cd /home/rails/sample && /usr/local/rbenv/shims/ruby regularly.rb)
|
76
|
+
|
77
|
+
Sep 6 21:04:01 xxxxx CROND[10063]: (root) CMD (cd /home/rails/sample && /usr/local/rbenv/shims/ruby regularly.rb)
|
78
|
+
|
79
|
+
Sep 6 21:05:01 xxxxx CROND[10100]: (root) CMD (cd /home/rails/sample && /usr/local/rbenv/shims/ruby regularly.rb)
|
80
|
+
|
53
81
|
```
|