• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Schedule ( cron ) dont run

BrinsleyA

New Pleskian
Hello,,, i have a big trouble...and this trouble have 2 points..

In the server i cant execute 2 auto-commands:

1: i try make a auto-execute to run backup. but in the time the plesk dont make backup and no have any errors msgs.
i try in local repository and remote repository.
the plesk backup dont work.


2. i have in the server a acct with whmcs cms, and the command to execute cms-tasks dont run... php command not found
php -q /var/www/vhosts/xxxxxxx.com.br/clientes.xxxxxxxx.com.br/gerencia/cron.php
dontrun and no have php command


Its possible fix this or plesk dont have skill to execute crons?
 
Your cron issue is most likely because you are using Plesk's chrootsh shell, which does not contain any usefull utilities. So, your cron will not work. Change the chrootsh shell to /bin/bash:

/opt/psa/bin/server_pref -u -crontab-secure-shell /bin/bash

Also, enter the full path to PHP instead of just 'php'. So most likely you will enter: /usr/bin/php -q /var/www/vhosts/xxxx.com/br/....
 
Back
Top