FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Bondings
The path to php is /usr/local/bin/php on the second server, if I'm not mistaken.
foggy
resolved, closing Smile
Related topics
how can i use the url: xxx.frih.net
Webspace.frih.net New site, please give feedback
Can I have mail server on frih.net
MySQL issues on Frih.net server
Is somthin rong with .frih.net domains?? (NVM SOLVED)
Frih.net IP
Frih.net going down every once in awhile tonight...
[RESOLVED] Unable to access any service with frih.net
JOOMLA: Has anyone succeeded in installing it at FRIH.Net?
We are aware of the problems on Server 2 (Frih.net)
What is the MySQL server for frih.net?
Strange email received from mailer-daemon
Server Two Issues [resolved]
Frih.net speed
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-2011 Frihost, forums powered by phpBB.