If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Chit Chat > List all cron jobs?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-03, 13:47
bcyde bcyde is offline
Registered User
 
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
Reply With Quote
  #2 (permalink)  
Old 02-20-03, 11:26
JustADBA JustADBA is offline
Registered User
 
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.
Reply With Quote
  #3 (permalink)  
Old 02-20-03, 12:24
bcyde bcyde is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On