Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I get http://localhost:8888/site_name/index.php to run every 30 min until I manually stop it (edit the cron file)? This is on a Mac running MAMP.

I know how to set one up using the wizard in a cpanel but have never done this on MAMP before.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Here is a guide to using cron on OSX : http://www.macosxhints.com/article.php?story=2001020700163714

in cron (crontab -e in a terminal) enter :

0,30 * * * * root curl http://localhost:8888/site_name/index.php > /dev/null

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.