I need the php path, and to run a cronjob

Hi,

I’m new to HSphere, and only a little familiar with CPanel from prior experiences.

I need to set up a crontab entry, but I don’t see a crontab/cronjob manager in my HSphere control panel. ?(

Also, I need to know the actual php path for the cronjob. Is it /usr/bin/php?

Any help here would be appreciated.

Thanks,
Paula.

Look under the FTP manager for Cron.

Not sure about the PHP path.

[QUOTE=Viper]
Look under the FTP manager for Cron.

Not sure about the PHP path.
[/QUOTE]

Thanks Viper. It’s exactly where you said :slight_smile:

Paula.

Your Welcome.

Strange place to have it. It took me a while to find it!

Now if I can just find what the path to the php interpreter is… ???

Check the phpinfo()?

[QUOTE=Dave96]
Check the phpinfo()?
[/QUOTE]

Sorry. I’m only a beginner at this stuff. How/where do I check the phpinfo()?

http://support.jodohost.com/showthread.php?t=4356&highlight=cron+job

Hope this helps

[QUOTE=subodhm]
http://support.jodohost.com/showthread.php?t=4356&highlight=cron+job

Hope this helps
[/QUOTE]

Thanks, but I did get this sorted out with Jodohost support.

Their recommendation was to use the following in cron:

/usr/bin/wget -o /hsphere/local/home/username/cron.log yoursite.com

Thanks anyway,
Paula.

http://support.jodohost.com/showpost.php?p=33525&postcount=5 without logging

[QUOTE=manopb]
http://support.jodohost.com/showpost.php?p=33525&postcount=5 without logging
[/QUOTE]

According to Jodohost support…

[indent]Please setup cron with the following command:
“/usr/bin/wget -o/dev/null -O- yoursite.com

We donot have PHP installed in CGI mode, thus there is no PHP binary.[/indent]

I hope that helps :slight_smile:
Paula.