Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 28, 2010, 12:02 PM   #1
iMasterWeb
macrumors regular
 
Join Date: Mar 2009
Configuring Cron Jobs with MAMP

Does anyone know of a way to run a PHP file every fifteen minute on Mac OS X (SL)? I'm running MAMP, not Pro, I've seen tutorials, but none of them work. I know that I'll have to do it through Terminal. Any tips?
iMasterWeb is offline   0 Reply With Quote
Old Aug 28, 2010, 12:07 PM   #2
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
What in the tutorials are you having trouble with?
angelwatt is offline   0 Reply With Quote
Old Aug 28, 2010, 12:10 PM   #3
iMasterWeb
Thread Starter
macrumors regular
 
Join Date: Mar 2009
Most of them give a terminal code to run, and the code doesn't work, I don't see an update.
iMasterWeb is offline   0 Reply With Quote
Old Aug 28, 2010, 12:20 PM   #4
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
Quote:
Originally Posted by iMasterWeb View Post
Most of them give a terminal code to run, and the code doesn't work, I don't see an update.
Specifics would be helpful otherwise no one can help you.
angelwatt is offline   0 Reply With Quote
Old Aug 28, 2010, 12:36 PM   #5
iMasterWeb
Thread Starter
macrumors regular
 
Join Date: Mar 2009
Nevermind, I figured it out. I wasn't saving it correctly in terminal.
iMasterWeb is offline   0 Reply With Quote
Old Aug 28, 2010, 12:54 PM   #6
elppa
macrumors 68040
 
elppa's Avatar
 
Join Date: Nov 2003
I'm guessing you're using cron…?

You don't have to use cron, you can use launchd and it can be configured using a free GUI, called Lingon.

launchd has some more powerful options than cron, which may or may not be needed for the task you have in mind. But I'd just thought I'd throw it out there…
elppa is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Which is the best MAMP Port number? PicnicTutorials Mac Applications and Mac App Store 7 Jan 21, 2014 12:36 PM
Manage Cron Scripts benfro6 Mac Applications and Mac App Store 1 Jul 2, 2013 02:02 PM
Using cron for scheduling? solomanii OS X 10.8 Mountain Lion 3 May 7, 2013 07:39 AM
MAMP/LAMP/etc...help? fig Web Design and Development 11 Mar 15, 2013 10:06 AM
How to ftp, scp or mail from Cron to web donnist Mac Programming 4 Oct 1, 2012 03:16 PM

Forum Jump

All times are GMT -5. The time now is 10:08 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC