FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Cron Daemon on server 2 (frih.net) [resolved]

 


Arin
Hello,

I wanned to set up a cron job, which would be a php script. I've read daniel's faq, and followed his advise how to set the deamon task. Butsomething seems not working. My cron entries were:
Code:
/usr/bin/php -q /home/arin/script.php   // this is as in faq

php -q /home/arin/script.php  // this was used becoz I thought that php executable will be in $PATH var for my account.
Sadly, both of above emailed these errors:
Code:
/bin/sh: line 1: /usr/bin/php: No such file or directory

/bin/sh: line 1: php: command not found

What should I do to fix this?

edit:
Steve's advise fixes it :).

Cheers,
Arin.


Last edited by Arin on Tue Dec 27, 2005 9:47 pm; edited 1 time in total
Bondings
The path to php is /usr/local/bin/php on the second server, if I'm not mistaken.
foggy
resolved, closing Smile
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.