LinuxQuestions.org
Help answer threads with 0 replies.
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-23-2008, 01:53 AM   #1
jkeertir
Member
 
Registered: Mar 2008
Posts: 70

Rep: Reputation: 15
using crontab


Dear ALL,

Can anyone tell me how to schedule a task to run only on a perticular time and date and month ?

10 10 10 10 * mkdir /k

Will this task run everyday as the 5th * is for everyday.


How can i delete a single task from the crontab list?


Please help me to solve this issue.

With Regards,
Keerti
 
Old 04-23-2008, 02:45 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
10:10 on October 10th, no matter what day of the week it is

man 5 crontab



Cheers,
Tink
 
Old 04-23-2008, 03:13 AM   #3
uncle_philip
Member
 
Registered: Apr 2008
Location: sydney
Distribution: centos5.2
Posts: 50

Rep: Reputation: 15
no, it should be
minute hour date month day "your command"
minute hour * * 0-6 "your command"

> crontab -u login-name -l
to find out any job under your name.

normally crob job save under here,
> /var/spool/cron/login-name
 
Old 04-23-2008, 07:41 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Here's a really good explanation: http://www.adminschoice.com/docs/cro...Crontab%20file
 
  


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 Xris718 Linux - General 5 08-15-2005 02:03 PM
crontab ashley75 Linux - General 3 07-21-2005 11:48 AM
Crontab reynacho_au Linux - Software 6 12-28-2004 04:09 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 01:35 PM
Crontab WiWa Linux - Software 1 10-06-2003 06:20 PM


All times are GMT -5. The time now is 02:38 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