• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Zip command with password not running

Ayki

Basic Pleskian
Zip command is not working when used from the task scehedular. Althougt the same line of code runs as expected from ssh terminal. Does anyone have a work around please?
Zip -j -R password /zipFolder /files
 
How does it not work when you run it as a scheduled task? Do you get an error?

Too me it only looks like the -P flag is missing from your command for setting for setting a password. Other than that it should work. If it doesn't you might want to check the user you use to run the scheduled task.
 
Thanks for your reply. Yes -P flag needed. Further investiging this I realised the file naming convention was creating this error. I have daily automated reports dumped into a folder. The zip command set to find and zip the files for the actual day repeating daily.
Once this issue is fixed ( files to be zip correctly identified) the problem gone away all seems to be working.
And yes user permissions are set correctly.
Many thanks again
 
Back
Top