Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 4 of 4
  1. #1
    michaelsanford is offline Translator, Web Developer
    Join Date
    Oct 2002
    Location
    Ottawa/Montréal
    Posts
    2,280
    Thanks
    0
    Thanked 5 Times in 5 Posts

    crontab interval: every x minutes?

    I was wondering, in the crontab how do you configure something to happen every x (30) minutes.

    Is it 1/30 in the minutes field? I'm using cronniX BTW (but I assume it just passes the syntax to the UI the same way it reads it form the tab...)

    Thanks!

    Edit: shoot this should be in Darwin I guess, even though it really is a cronniX question...

  2. #2
    d1taylor is offline Writer, et. al.
    Join Date
    Aug 2002
    Location
    Boulder, CO
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can also just do:

    1,31 * * * *

    or similar, but, theoretically, the interval you're specifying should work. See the crontab(5) man page for details.
    Author, Learning Unix for Mac OS X (O'Reilly), among other books.
    Check out http://books.intuitive.com/

  3. #3
    michaelsanford is offline Translator, Web Developer
    Join Date
    Oct 2002
    Location
    Ottawa/Montréal
    Posts
    2,280
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Cool I didn't think of that hehe.

  4. #4
    JumpMaster's Avatar
    JumpMaster is offline Registered User
    Join Date
    Nov 2002
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you want say every 5 minutes you do:
    */5 * * * * command

 

 

Similar Threads

  1. locating mystery crontab file?
    By sjarvis in forum Unix & X11
    Replies: 7
    Last Post: September 9th, 2003, 07:13 AM
  2. Slow startup (2:30 minutes too much) after installing 10.1.5
    By mcginkel in forum Mac OS X System & Mac Software
    Replies: 4
    Last Post: November 11th, 2002, 12:31 PM
  3. Setting slide show activation to < 5 minutes?
    By MDLarson in forum Mac OS X System & Mac Software
    Replies: 4
    Last Post: October 4th, 2002, 01:12 PM
  4. From 100% to 0% in 37 minutes
    By Zeal in forum Hardware & Peripherals
    Replies: 8
    Last Post: March 18th, 2002, 06:08 AM
  5. after 30 minutes my pb wont wake up
    By snoop in forum Hardware & Peripherals
    Replies: 0
    Last Post: January 19th, 2002, 10:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •