Script running when app is closed

If you mean running in the background, take a look at this extension:

1 Like