53
44

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

以上

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?