• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

cron

B

Blondie63

Guest
I've Plesk Panel 10.3.1 and i'm Admin
Some days ago, on one My Space Web site i've added a job like this "cron/job.php" that does'nt work and i receive an email with this message: -: php: command not found

why i cannot use php command ? path problem ? permission problem ?

Someone can help me ?? :)

Thanks

Mauro
 
Last edited by a moderator:
I have exactly the same and today i install instead Debian5 now Ubuntu 10.4 - Both Systems are new setup, but cron dont found the path /usr/bin/php !!! THIS IS A BUG BY PLESK !!
I have installed now two different Systems Debian5/Ubuntu10.4
And the Error is after fresh install in both Systems. Bootstrapper does nothing repair, so What is it now. Where can we look, where can we edit.

The Software uses the same Path (php info) /usr/bin/php and will work fine.
So if PHP not there (but it is !) then why work the script and cron not.

So how can we fix this for the moment (dirty or not) - without cron Jobs, my Software dont want run correct !

Thanks Sven
 
fail

I've tried to lunch this command as root user but fail:

myhost:~$ /usr/local/psa/bin/server_pref -u -crontab-secure-shell "/bin/sh"

Could not open Repository at "/etc/sw/keys": Cannot open file
Unable to connect to database: get_admin_password() failed: file_get_contents() failed:


my server is: psa v10.3.1_build1013110726.09 os_Ubuntu 10.04

what's wrong ?

Mauro
 
Back
Top