質問編集履歴

1

回答の方法をやってみて 少し気になる事があったので追加

2017/11/08 07:40

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -117,3 +117,81 @@
117
117
  20 redirections exceeded.
118
118
 
119
119
  ```
120
+
121
+ ###追記
122
+
123
+ ご回答ありがとうございます。回答の方法をやってみて
124
+
125
+ 少し気になる事があったので追加でやってみた方法とエラーメッセージを掲載しておきます。
126
+
127
+
128
+
129
+ ---
130
+
131
+
132
+
133
+ 参照サイトそのままの方法でやってみた。@1
134
+
135
+ サーバーCron→ /home/***/www/file/cron/wp-cron.sh
136
+
137
+ ```
138
+
139
+ #!/bin/sh
140
+
141
+
142
+
143
+ cd /home/***/cron
144
+
145
+ wget http://example.com/wordpress/wp-cron.php -O result1
146
+
147
+ ```
148
+
149
+ postmasterメール内容(恐らくエラー内容)
150
+
151
+ ```
152
+
153
+ cd: /home/***/cron: No such file or directory
154
+
155
+ /home/***/www/file/cron/wp-cron.sh: wget: not found
156
+
157
+ ```
158
+
159
+
160
+
161
+ ---
162
+
163
+
164
+
165
+ 参照サイトそのままの方法でやってみた。@2
166
+
167
+ サーバーCron→ /home/***/www/file/cron/wp-cron.sh
168
+
169
+ ```
170
+
171
+ #! /bin/sh
172
+
173
+ #
174
+
175
+ # Wordpressのwp-cron.phpの実行
176
+
177
+ #
178
+
179
+ curl http://example.com/wordpress/wp-cron.php
180
+
181
+
182
+
183
+ exit 0
184
+
185
+ ```
186
+
187
+ postmasterメール内容(恐らくエラー内容)
188
+
189
+ ```
190
+
191
+ /home/***/www/file/cron/wp-cron.sh: curl: not found
192
+
193
+ ```
194
+
195
+
196
+
197
+ ---