Run once

How do you run a system just once?
I want to place characters at random positions when the level first loads.

Use dedicated component, and remove it after processing.

disable the system after spawning.

public void OnUpdate(ref SystemState state)
{
    // do stuff
    state.Enabled = false;
}