Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Chig
  • Order by date
  1. Chig

    Listing all cron related processes

    I want to list the processes spawned by cron from within a shell script. The following writes the current cron PID to a file. ps -ef | grep -v grep | grep cron | awk '{print $2}' > $CRON How can I then grep for the PID contained in the file? Thanks,

Part and Inventory Search

Back
Top