Compositor: File output with custom range
Create a frame change callback and drive the mute of those output nodes with script:

import bpy

def frame_change_handler(scene):
    nodes = scene.node_tree.nodes
    nodes['File Output 1'].mute = not (15 &lt; scene.frame_current &lt; 50)
    nodes['File Output 2'].mute = not (45 &lt; scene.frame_current &lt; 55)

bpy.app.handlers.frame_change_pre.append(frame_change_handler)


Adjust the names of the nodes and the ranges like you want. You can also insert a driver to mute property in outliner dataview but such drivers on nodes do not update correctly, that's why it needs to be frame change handler.

If you need to change something in the script and want to re-run it call bpy.app.handlers.frame_change_pre.clear() in console first. Enjoy:)