LoginSignup
0
1

More than 5 years have passed since last update.

Centos7でcrontabを編集してもシェルが実行されない

Posted at

久しぶりにCentOS7をつかったら、crontabを編集してもシェルが実行されない

原因はanacron

cronのかわりに用意されているanacronが諸悪の根源

CentOS7では CentOS6にあったcronのかわりに、anacronが用意されている。

いろいろ違いはあるが、

cron分単位の指定時刻で実行されるが
anacron日単位の指定時刻でしか動作されない
anacronふたたび。(「RHEL6で悩ましい諸々」シリーズ)

どうやら仮想マシンでよくある同時バッチ対策でランダム遅延が挿入されるらしい

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1