Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2002
    Posts
    65

    List all cron jobs?

    I'm more a programmer than a sys admin, but I've been having to do a little admin stuff lately and I was just wondering if there was a way as root to list all the cron jobs set for each user. I am trying to consolidate the cron jobs of all of my predecessors (and my own) into 1 account to make it easier to manage everything down the road.

    Thanks,
    -b
    (I'm only available at the email address provided in my profile on weekdays, if you have questions or advice, during off hours use AIM). Also any views I provide here or on my website are mine and not representative of any views of my work, family, friends and sometimes even myself.

    http://www.bcyde.com

  2. #2
    Join Date
    Aug 2002
    Posts
    2

    Where are my cron jobs?

    I can't answer for all versions of Unix, but on a Solaris box there is a directory /var/spool/cron/crontabs that will have files that list all jobs that run under cron. Each login that has the privileges to create a cron job have their own file under their login name. However do not edit these files as it will cause problems for cron.

  3. #3
    Join Date
    Dec 2002
    Posts
    65
    Thanks,
    actually I found out that my predecessors did not use the individual crontab for their user, but ended up just editing /etc/crontab . So for anyone else out there who may have had the same problem /etc/crontab is another place to look.

    -b
    (I'm only available at the email address provided in my profile on weekdays, if you have questions or advice, during off hours use AIM). Also any views I provide here or on my website are mine and not representative of any views of my work, family, friends and sometimes even myself.

    http://www.bcyde.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •