LoginSignup
51
44

More than 5 years have passed since last update.

Cron が走っているかどうか確認する

Posted at

RHEL/CentOS v4.x/5.x/6.x and Fedora Linux (古いバージョン)

crond が動いているかどうか

service crond status

crond 動いていなかったら

sudo chkconfig crond on
sudo service crond start

CentOS/RHEL v7.x+/Ubuntu 最新

crond が動いているかどうか

systemctl status crond.service

crond 動いていなかったら

sudo systemctl enable crond.service
sudo systemctl start crond.service

crond ログの確認

tail -f /var/log/cron

以上

51
44
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
51
44