Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
We value your experience with Plesk during 2025 Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025. Please take this short survey: https://survey.webpros.com/
Solved
I solved my issue with countless hours of trying.
In Plesk Control Panel, I have choosen "Access to the server over SSH : /bin/bash" and used the the "Scheduled Task Manager" to execute the cron job.
30 * * * * /bin/sh /var/www/vhosts/mydomain.com/subdomains/restore.sh
Not it works!
The cron job is save and installed. I can see it with crontab -e
49 * * * * /var/www/vhosts/mydomain.com/subdomains/test.sh
The problem is, it does not execute.
I already have this :
32 * * * * sh /var/www/vhosts/mydomain.com/subdomains/restorexx.sh on
What i meant by that is when i manually try each command in shell, the owner/group is set to none. If there is no owner group i cannot access the admi area of the website.
...and i am googling now...
CHMOD command
BTW, Is this the right CHMOD command? It doesn't seem to work
find /var/www/vhosts/mydomain.com/subdomains/study -type f -print | xargs chmod 644
find /var/www/vhosts/mydomain.com/subdomains/study -type d -print | xargs chmod 755
Hi,
Thanks for the reply. I was using via shell (crontab -e) and also tried the task manager in parallels.
I tried to run each line via shell and it execute each line without a problem. This should work in cronjob.
mysql -uuser -ppassword databasename...
I was trying to do a cronjob on my server to automate website restore of a demo website.
This is the cronjob task i added with SSH command:
---------------------------------------------------------
sh /var/www/vhosts/mydomain.com/subdomains/restorexx.sh...