I would like to disable cron on the minion when salt gets executed.
Disabling it would be easy: service.disabled
But how to enable it again (in all cases (success or error))?
What I want is comparable with a context-manager in the python programming language.