image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old December 17th, 2002, 03:33 PM
michaelsanford's Avatar
Translator, Web Developer
 
Join Date: Oct 2002
Location: Ottawa/Montréal
Posts: 2,278
Thanks: 0
Thanked 4 Times in 4 Posts
michaelsanford is on a distinguished road
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...
__________________
michaelsanford.comIdenti.ca
• iMac Aluminum 24" |
MacOS X 10.5 (current) | 3.06 GHz Intel Core Duo | 4 GB RAM, 1 TB HDD
• Acer AspireOne 1.60 GHz | Windows XP Home | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Ubuntu
-server x86_64 | 1240 GB RAID
Reply With Quote
  #2  
Old December 17th, 2002, 10:28 PM
Writer, et. al.
 
Join Date: Aug 2002
Location: Boulder, CO
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
d1taylor is on a distinguished road
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/
Reply With Quote
  #3  
Old December 17th, 2002, 10:43 PM
michaelsanford's Avatar
Translator, Web Developer
 
Join Date: Oct 2002
Location: Ottawa/Montréal
Posts: 2,278
Thanks: 0
Thanked 4 Times in 4 Posts
michaelsanford is on a distinguished road
Cool I didn't think of that hehe.
__________________
michaelsanford.comIdenti.ca
• iMac Aluminum 24" |
MacOS X 10.5 (current) | 3.06 GHz Intel Core Duo | 4 GB RAM, 1 TB HDD
• Acer AspireOne 1.60 GHz | Windows XP Home | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Ubuntu
-server x86_64 | 1240 GB RAID
Reply With Quote
  #4  
Old April 16th, 2003, 05:03 AM
JumpMaster's Avatar
Registered User
 
Join Date: Nov 2002
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
JumpMaster is on a distinguished road
if you want say every 5 minutes you do:
*/5 * * * * command
Reply With Quote
Reply

Bookmarks

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

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


All times are GMT -5. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.