Posted By

kayue on 12/31/10


Tagged


Versions (?)

Check Crontab running


 / Published in: Bash
 

  1. # To check that it's running on your system, use ps and grep to locate the process.
  2.  
  3. ps -ef|grep cron
  4.  
  5. root 387 1 0 Jun 29 ? 00:00:00 crond
  6. root 32304 20607 0 00:18 pts/0 00:00:00 grep cron
  7.  
  8. # In the example above, crond is running as process 387. Process 32304 is the grep cron command used to locate crond.
  9.  
  10.  

Report this snippet  

You need to login to post a comment.