The job is still generating an output file if you have it configured to as the step is to check if the server is primary or not.
It will always generate the file as the job is doing something, even if it isn't actually doing what the job is meant to do.