LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-31-2012, 02:58 AM   #1
px87
LQ Newbie
 
Registered: Nov 2011
Posts: 18

Rep: Reputation: Disabled
Crontab in the 3rd minute of the hour


Hi all!

I need to set a cron job that run every 10 minutes in the 3rd minute of the hour, for example: 1:03, 1:13, 1:23....

What is the correct pattern that I'd have to set?

I have tried with 3/10 * * * * and 3-10 * * * * but any of them donīt work.


Thanks a lot!!!
 
Old 10-31-2012, 03:06 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
just do it long hand... 3,13,23,33,43,53 * * * *
 
Old 10-31-2012, 05:38 PM   #3
px87
LQ Newbie
 
Registered: Nov 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
just do it long hand... 3,13,23,33,43,53 * * * *
Excellent solution, it works!!!!

Thanks a lot Chris!!!
 
  


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
Running a cron every 7 minutes but to cary over the 7 minute count to the next hour? ghurty Linux - Server 15 10-09-2013 06:45 PM
[SOLVED] handling hour and minute of ps entry divyashree Programming 6 06-13-2012 10:48 AM
crontab: minute hour or hour minute rjo98 Linux - Newbie 2 11-04-2009 03:09 PM
crontab running twice in a minute saurabhrh Red Hat 4 01-30-2007 07:21 PM
crontab running twice in a minute saurabhrh Linux - General 1 01-30-2007 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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