Yvan wrote:
Hello all,

I don't know if it's the correct list, but as a php script is involved....

Nope, not the right list. Cron isn't running - which has absolutely nothing to do with php.

I try to start a set up a crontab job with crontab -e, which should start a php 
script:

*/10    *       *       *       *       cd /Users/yvan/Sites/est-pac/ ; 
/usr/bin/php /Users/yvan/Sites/est-pac/controller.php

You don't need the cd command, change it to:

/usr/bin/php /Users/yvan/Sites/est-pac/controller.php

also add a

MAILTO="your_email_Address.com"

at the top of the file in case it's throwing any errors.

No idea where mac puts cron files but on linux systems it's usually /var/spool/cron/your_user_name

(I'm guessing *bsd is the same but ask them).

If you're still having problems I'd suggest asking a mac list.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to