US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting
Register FAQ Community Calendar Today's Posts Search


Closed Thread
 
Thread Tools
Old 10-21-2010, 01:33 PM   #1
Junior Member
 
Join Date: Jul 2010
Posts: 26
shemeri is on a distinguished road
Question crons problem

Hello,

I have trouble with crons on my Centos 5.5 wiith ISPManager 4.3.48. Crons simply doesn't work.

Tried many options, hourly, selected time, daily etc..

No crons running at all.

Any idea if there is a problem with current version and crons??
shemeri is offline  
Old 10-21-2010, 05:54 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

If you run the command crontab-l in ssh, then see whether the job? What a error when using cron?
slava is offline  
Old 10-23-2010, 11:00 PM   #3
Junior Member
 
Join Date: Jul 2010
Posts: 26
shemeri is on a distinguished road
Question Centos 5.5

I found out that when running CRONS from ISPManager, I get the followings:

/bin/sh: php: command not found

But have no trouble when I run PHP scripts in SSH by just typing PHP

How to fix the problem?

Thanks
shemeri is offline  
Old 10-24-2010, 12:00 AM   #4
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

You need use full path to php binary
/usr/bin/php
or
/usr/local/bin/php

check this by which php command in the ssh
slava is offline  
Old 10-24-2010, 01:42 AM   #5
Junior Member
 
Join Date: Jul 2010
Posts: 26
shemeri is on a distinguished road
Default

thanks...

That was missing
shemeri is offline  
Closed Thread


Posting 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

Forum Jump


All times are GMT +2. The time now is 09:24 AM.