LinuxQuestions.org
Review your favorite Linux distribution.
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 03-07-2012, 07:18 AM   #1
ASTRAPI
Member
 
Registered: Feb 2007
Posts: 210

Rep: Reputation: 16
Question Adjust crontab time to run at 5:10 after midnight


Hello

I want to add on Centos a crontab to run at 5:10 after midnight..

How can i adjust the old one that was run on just 5 after midnight?

Code:
* 5 * * *
Thank you
 
Old 03-07-2012, 07:29 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Code:
10 5 * * *
 
Old 03-07-2012, 07:32 AM   #3
ASTRAPI
Member
 
Registered: Feb 2007
Posts: 210

Original Poster
Rep: Reputation: 16
Ok thanks and if i want to run it after 7 minutes i must set it like:

Code:
7 5 * * *
or

Code:
07 5 * * *
 
Old 03-07-2012, 12:45 PM   #4
ASTRAPI
Member
 
Registered: Feb 2007
Posts: 210

Original Poster
Rep: Reputation: 16
Anyone please?
 
Old 03-07-2012, 01:39 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,275

Rep: Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955
Either 7 or 07, doesn't matter, but yes you have it right.
 
  


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
Run crontab @ various time zone mohan_linux Linux - General 4 04-21-2011 05:39 PM
How do I adjust the time of my system with daylight saving time in effect? awmian Linux - Newbie 3 09-04-2008 09:57 AM
Midnight Commander takes a lot of time starting julot Linux - Software 3 07-26-2005 09:20 PM
Adjust date and time vwal_13 Slackware 5 04-19-2004 08:22 PM
Cannot adjust date+time Tyir Linux - General 6 01-04-2004 04:52 PM


All times are GMT -5. The time now is 11:44 AM.

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