LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2005, 02:17 AM   #1
goodolday
LQ Newbie
 
Registered: Apr 2005
Posts: 6

Rep: Reputation: 0
crontab probs still


can i get some examples of crontab, i'm so confused, checked the man pages still confused, i need a good example, please help, i'm so frustrated.

thanks alot,
 
Old 04-30-2005, 02:41 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Not sure what else your looking for but examples taken from the Slackware man page for crontab..

Code:
       # MIN HOUR DAY MONTH DAYOFWEEK   COMMAND
       # at 6:10 a.m. every day
       10 6 * * * date

       # every two hours at the top of the hour
       0 */2 * * * date

       # every two hours from 11p.m. to 7a.m., and at 8a.m.
       0 23-7/2,8 * * * date

       # at 11:00 a.m. on the 4th and on every mon, tue, wed
       0 11 4 * mon-wed date

       # 4:00 a.m. on january 1st
       0 4 1 jan * date

       # once an hour, all output appended to log file
       0 4 1 jan * date >>/var/log/messages 2>&1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crontab reynacho_au Linux - Software 6 12-28-2004 04:09 AM
new to crontab desbyleo Solaris / OpenSolaris 15 12-16-2004 04:04 AM
Crontab and FTP probs hcclnoodles Linux - Software 1 08-23-2004 02:18 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 01:35 PM
Where's my crontab? fxlee Linux - Newbie 2 01-30-2002 07:38 AM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration