You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to execute the script in background mode (from a command line with &) but I haven't been able to run it and keep the output result in a file (for example).
The output reindexing [--------------------------------------] 0/2998080(0%) 270.5 0.0s - 1/30 working is still shown and the script is not executed in background mode.
If is run in background and sending output to a file, like:
The npm package progress is used for that. I'm not too familiar with the topic but I think it requires tty to display the progress bar which is not available when you don't use a terminal window and just log it to a file. I could be wrong though!
Hello all.
I've tried to execute the script in background mode (from a command line with
&
) but I haven't been able to run it and keep the output result in a file (for example).If is run it as:
elasticsearch-reindex -f http://localhost:9200/index -t https:/<new_elastic>:9200 indexer.js &
The output
reindexing [--------------------------------------] 0/2998080(0%) 270.5 0.0s - 1/30 working
is still shown and the script is not executed in background mode.If is run in background and sending output to a file, like:
elasticsearch-reindex -f http://localhost:9200/index -t https:/<new_elastic>:9200 indexer.js 1> /var/tmp/es-reindex.log &
In this file is saved this output:
But the output
reindexing [--------------------------------------] ...
is missing.Is there any way to run it in backgorund keeping the output?
Thanks in advance.
Regards,
Miguel.
The text was updated successfully, but these errors were encountered: