LoginSignup
1
1

More than 3 years have passed since last update.

fedoraでクーロンがなかった

Last updated at Posted at 2019-07-16

クーロンがない

クーロン起動できなかった 辛い

$ service crond status

-bash: service: command not found

$ /etc/rc.d/init.d/crond status

-bash: /etc/rc.d/init.d/crond: No such file or directory

多分解決策

ステータスをみる

$ systemctl status crond.service

クーロン起動

$ systemctl start crond.service

クーロン停止

$ systemctl stop crond.service

起動してる時 

(●が緑)
● crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-07-15 18:51:28 JST; 1 day 8h ago
 Main PID: 923 (crond)
    Tasks: 1 (limit: 2351)
   Memory: 3.0M
   CGroup: /system.slice/crond.service
           └─923 /usr/sbin/crond -n
(中略)

起動してない時

(●が灰色)
● crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Wed 2019-07-17 03:47:52 JST; 8s ago
  Process: 923 ExecStart=/usr/sbin/crond -n $CRONDARGS (code=exited, status=0/SUCCESS)
 Main PID: 923 (code=exited, status=0/SUCCESS)
1
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
1
1