Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to redirect output and return arbitrary exit codes in admin procedures #672

Open
denesterov opened this issue Dec 28, 2021 · 0 comments
Labels
feature A new functionality

Comments

@denesterov
Copy link

There are many use-cases to use cartridge admin for some automation: gather lists of specific records or wait for some condition.
e.g.

./cartridge admin -c CREDS migration_results | grep Subscriber > subs.csv

or

./cartridge admin -c CREDS get_migration_status

if [ $? -eq 0 ] 
then 
  echo "Migration finished" 
else 
  echo "Failed" 
fi
@DifferentialOrange DifferentialOrange added feature A new functionality teamE labels Dec 28, 2021
@denesterov denesterov changed the title Ability to redirect output and return arbitrary exit codes Ability to redirect output and return arbitrary exit codes in admin procedures Dec 28, 2021
@TarantoolBot TarantoolBot removed the teamE label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

3 participants