anacronについて
概要
- cronに似たperlで作られたツール
anacrontab
/etc/anacrontab
/etc/anacrontabの書式
<period in days> <delay in minutes> <job-identifier> <command>
-
period in days- どの間隔で一回実行するか
@daily@weekly@monthly
-
delay in minutes- ランダムで待機する時間(minutes)
-
job-identifier- ジョブの固有名
-
command- コマンド
実行時間を限定する
START_HOURS_RANGE=0-4
- 0時から4時までに限定