回答編集履歴

1

2015/02/05 03:16

投稿

codingforfun
codingforfun

スコア72

test CHANGED
@@ -1,17 +1,7 @@
1
1
  こうした処理は通常、cronで設定します。
2
2
 
3
-
4
-
5
- [https://www.express.nec.co.jp/linux/distributions/knowledge/system/crond.html](https://www.express.nec.co.jp/linux/distributions/knowledge/system/crond.html)
3
+ https://www.express.nec.co.jp/linux/distributions/knowledge/system/crond.html
6
-
7
4
  などに詳しい設定方法がありますが、cronでたとえば「毎日AM3:00」に
8
-
9
- ```lang-<ここに言語を入力>
10
-
11
5
  /home/hoge/job/maintenance.sh
12
-
13
- ```
14
-
15
6
  のシェルスクリプトを実行するように設定しておき、このmaintenance.shから
16
-
17
7
  その実行したい処理のPHPスクリプトを実行する・・・などが一般的ではないでしょうか。