AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  How to find crontab jobs ?

    Posted Wed December 09, 2009 09:10 AM

    Originally posted by: sidharth2009


    Hi All,

    how to know or find the number of crontab jobs ,scheduled or running in the system ?

    plz provide the command .
    #AIX-Forum


  • 2.  Re: How to find crontab jobs ?

    Posted Wed December 09, 2009 09:30 AM

    Originally posted by: tony.evans


    AIX stores crontabs in /var/spool/cron/crontabs

    Each file is named after the user ID for which it runs.

    I'm not sure if that's what you mean by 'crontab jobs'. If you mean how many processes are currently running that were started by cron, then you would need to find the pid of the cron process and check which other processes have their pid as their ppid.
    #AIX-Forum


  • 3.  Re: How to find crontab jobs ?

    Posted Wed December 09, 2009 09:31 AM

    Originally posted by: tony.evans


    That should read "have that pid, as their ppid".
    #AIX-Forum