Ok. Have tried it. It seems to work on line 2. 

Where can I find documentation about these ctx files?

Denis Maier <maier.de@gmail.com> schrieb am Do., 16. Mai 2019, 12:27:
<?context-directive job ctxfile somefile.ctx?>

Just after the xml declaration? Like on line 2?
 

with "somefile.ctx" being:

<?xml version='1.0' standalone='yes'?>

<ctx:job>
     <ctx:message>My very special style</ctx:message>
     <ctx:process>
         <ctx:flags>
             <!-- ctx:flag>purge</ctx:flag -->
         </ctx:flags>
         <ctx:resources>
             <ctx:environment>whatever.tex</ctx:environment>
         </ctx:resources>
     </ctx:process>
</ctx:job>