Notifications
Clear all
Topic starter 24/11/2021 9:46 am
Hi.
Is it possible to run zxsuite commands in batch, like with zmprov?
For example create a file with this content
auth loginPage setFavicon domain <domain.com>"/public/<image.ext>" auth loginPage setFavicon domain <domain.tcom> "https://domain.com/<path>/<image.ext>
and then run
zxsuite < filename
26/11/2021 3:18 pm
- The zmprov command will accept commands from a file (or stdin) as input. Create a text file ("commands.zmp" for example) with the zmprov subcommands each on a line.
- The zxsuite is not a bash command and is not meant to take arguments from the standard input. hence zxsuite command will not accept commands from a file as input.
- The way to achieve that is by putting the whole command in the file and executing it as a bash script.
Topic starter 30/11/2021 10:42 am
@linganna-palepu Thanks. Unfortunately running several zxsuite commands is much slower than running them in a batch, as it is for zmprov.
24/12/2021 2:23 pm
- I apologize but as explained earlier The zxsuite is not a bash command and is not meant to take arguments from the standard input. hence zxsuite command will not accept commands from a file as input.
- zxsuite commands are a little faster than other bash commands in zimbra.