• 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

Resolved Plesk Command not Found | Cron Job to execute .sh file

Greetings!

I am trying to run a backup command written in a .sh file via cron.
The content of the .sh file is:


plesk bin pleskbackup --domains-name secure.authlogin.de --output-file="*******************************" --ftp-login=********* --ftp-password=********* --incremental

The script is located in the root directory. The Cron Job is runned as root, but i am still getting:
1600843719843.png

What can i do?
Thanks and best regards Benjamin!

PS: I tested to runthe script via SSH as root and it worked fine!
 
Back
Top