• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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