Notifications
Clear all
General Info
4
Posts
2
Users
0
Reactions
1,025
Views
Topic starter
11/24/2021 09:46
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
11/26/2021 15:18
- 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
11/30/2021 10:42
@linganna-palepu Thanks. Unfortunately running several zxsuite commands is much slower than running them in a batch, as it is for zmprov.
12/24/2021 14:23
- 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.