# Restart command 'pt-online-schema-change' automatically if it crashed by an external error

**URL:** <https://forums.percona.com/t/restart-command-pt-online-schema-change-automatically-if-it-crashed-by-an-external-error/12204>\
**Category:** Percona Toolkit\
**Tags:** closed-no-reply\
**Created:** [September 17, 2021, 1:43pm UTC](https://forums.percona.com/t/restart-command-pt-online-schema-change-automatically-if-it-crashed-by-an-external-error/12204 "2021-09-17T13:43:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julia\_Garcia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/julia_garcia/32/4518_2.png) [@Julia\_Garcia](https://forums.percona.com/u/Julia_Garcia)\
**Post date:** [September 17, 2021, 1:43pm UTC](https://forums.percona.com/t/restart-command-pt-online-schema-change-automatically-if-it-crashed-by-an-external-error/12204/1 "2021-09-17T13:43:01Z")

</div>

I would like to know if there is any flag to use in ‘pt-online-schema-change’ that can identifies if the command did not finish by an external error and restart it at the point it stopped automaticly when it’s possible.

Regards,
