• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

how do I get crontab to work?!

BrunoMiguel

New Pleskian
Hello, When I try to run a php script via crontab, created over Plesk, I always get email error message:

/usr/bin/php: No such file or directory

I've tried with just "php -q /path/to/script" but get the same error.
Is there any configuration I have to do?? I've saw this on documentation:

"If you trust your customers enough to allow execution of scripts in a non-chrooted environment, then you can select the required shell by issuing the following command in the console:

# /usr/local/psa/admin/bin/server_pref -u -crontab-secure-shell "/bin/sh"

But, I have no "server_pref" on that path...

I'm using Plesk 10.2 with CentOS.

Regards.
 
ok... I've changed "Access to the server over SSH" to /bin/bash .... BUT, when I login to server via SSH with FTP credentials, I can navigate on all servers directories. How can I change this? I want to use crontabs, but don't want users to get logged to the system with ssh...
 
Back
Top