Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

closed as off-topic by HopelessN00b, HBruijn Feb 24 at 19:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

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

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