Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > cron in tiger

cron in tiger
Thread Tools
Fresh-Faced Recruit
Join Date: May 2008
Status: Offline
Reply With Quote
May 18, 2008, 06:17 AM
 
I want to run a php script as a cron job on my local machine.
I don't get the path system. If my php file is in applications as it is with MAMP what is the path to execute the script with cron? OS X tiger.
Very simple I suspect.
     
beedie  (op)
Fresh-Faced Recruit
Join Date: May 2008
Status: Offline
Reply With Quote
May 18, 2008, 08:16 AM
 
This may be clearer

I am sure this is very simple.
I have a script at
http://localhost:8888/process/testing/onetime.php
I want it to run as a cron job.
I opened crontab in Terminal and put the below in it.

10 1 * * * /usr/bin/wget -q localhost:8888/process/testing/onetime.php

What is wrong with this?
Is there some path info missing or something else
Thanks
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
May 18, 2008, 11:27 AM
 
I've responded to this in your other thread.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:42 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2