Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
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
Unfortunatly, this command runs well with ssh but not within task Plesk scheduler…
Is there a way to create a routine by ssh, I mean to schedule a recursive task (like Plesk scheduler…), each day for instance ?
Should it do the job :
# Download data every night at 7:25 pm
25 19 * * * wget https://xxxxx/list.json -P /var/www/vhosts/<domain>/httpdocs/wp-content/uploads/files -O attendee.json
Okay, I think I got it. I Tested this successfully in the Plesk scheduler: wget -O httpdocs/wp-content/uploads/files/attendee.json https://example.com/list.json
Task "wget -O httpdocs/wp-content/uploads/files/attendee.json https://example.com/list.json completed with error in 0 seconds, output:
httpdocs/wp-content/uploads/files/attendee.json : No such file or directory
No, if you are running the scheduled task via Website & domains > Site dashboard > Scheduled Tasks then you don't need to include the full path, because the scheduled task runs from the home directory of the domain (system) user. But you can give it a try of course.
For me wget -O httpdocs/wp-content/uploads/files/attendee.json https://example.com/list.json works, when it test it.
The No such file or directory error indicates an issue with directory. Does the directory files actually exist?
Ok, I ve fixed permissions
But, always the same error than before :
Connecting to REMOTE-SERVER.. connected.
ERROR: The certificate of 'exemple.com' is not trusted.
ERROR: The certificate of 'exemple.com' doesn't have a known issuer.