The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cron jobs ajadaun HP-UX 5 10-15-2007 08:14 AM
Please help me with the run-away cron jobs dedema UNIX for Dummies Questions & Answers 2 09-13-2007 10:43 AM
cron jobs not run robertsnoog Linux 4 02-13-2007 08:24 AM
Cron Jobs lewisoco SUN Solaris 6 09-04-2005 08:14 AM
CRON Jobs eludlow UNIX for Dummies Questions & Answers 4 05-28-2004 05:24 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-18-2005
Registered User
 

Join Date: Dec 2004
Posts: 19
Stumble this Post!
Cron Jobs

Where can someone find info on Cron Jobs? Very new to UNIX and the PC I inherited looks to have several of them. Looks like they are some kind of background program that runs automatically at specified times. Would like to delete some of them and know more about them.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-18-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Stumble this Post!
Search this site and google.com for starters. A search for "cron" on google.com gives 3 *million* results. Searching for "cron tutorial" gives 194,000 results.

man cron and man crontab are also must-reads.

Quote:
Originally Posted by man cron
cron executes commands at specified dates and times. Regularly
scheduled commands can be specified according to instructions placed
in crontab files. Users can submit their own crontab files with a
crontab command (see crontab(1)). Users can submit commands that are
to be executed only once with an at or batch command.
Cheers
ZB
Reply With Quote
  #3 (permalink)  
Old 01-18-2005
Registered User
 

Join Date: Dec 2004
Posts: 19
Stumble this Post!
Thanks Bob, I did search google and got overwhelmed by the number of hits.
Reply With Quote
  #4 (permalink)  
Old 01-18-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Stumble this Post!
There seem to be a couple of introductions at these links (note: i haven't checked these out...)

http://www.unixgeeks.org/security/ne...ix/cron-1.html
http://www.linuxhelp.net/guides/cron/
http://www.linux.com/article.pl?sid=04/04/04/1544250
http://weather.ou.edu/~billston/crontab/
http://www.linuxforums.org/forum/ptopic4440.html
http://www.adminschoice.com/docs/crontab.htm

Also; take a look at the following article from our FAQ section.

That and the man pages should get you going

Cheers
ZB

Last edited by zazzybob; 01-18-2005 at 08:35 AM.
Reply With Quote
  #5 (permalink)  
Old 01-18-2005
Registered User
 

Join Date: Dec 2004
Posts: 19
Stumble this Post!
THX Bob. That has got me rolling. I entered "crontab -l" and see some of the actions, however not the ones I am getting errors on e-mail. Are there more than one crontab file, and if so how would I find it. I know the path and file name of the errored e-mail messages.
Reply With Quote
  #6 (permalink)  
Old 01-18-2005
Registered User
 

Join Date: Aug 2004
Posts: 232
Stumble this Post!
Try as su or root
crontab -l root to see roots crontab, which is most likely the backup processes. If, you decide to delete those, you can by issuing;
crontab -d root
Reply With Quote
  #7 (permalink)  
Old 01-19-2005
Registered User
 

Join Date: Jan 2005
Posts: 3
Stumble this Post!
If you change to the crontab directory it will give you a list of al the crontab user files.
Type in cd /usr/spool/cron/crontabs
then ls -l in the directory, it should show you all the files with the names being the user.
You will then need to type
crontab -u filename -l
This will then display all the jobs due to run under each user.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0