Run cloud sync task post script regardless of task success?

Hi everyone. First post on the new community site. Which looks great by the way!

TL;DR I’m wondering if there is a way to set a flag or something on a cloud sync task so that the post script runs no matter what happens with the task?

Speciically I am stopping a service (plexmediaserver) to back up the installation files to Dropbox. I’m stopping the server because it tends to access files the task is syncing, causing the task to fail consistently. The problem is that sometimes the task will fail anyway, for other reasons, and I still want the post script to start the server back up, regardless.

I was reading in my searches that this might be possible with midctl? I am finding precious little about it though. Hoping an expert here can enlighten me :slight_smile:

Thanks