I would like to ensure that a task runs before a particular service is started. (The service is "automatic"). Is there any way to do this?
I could schedule a task to run on startup, and just pray. But will it begin before the service is started? It's a very short task, is it likely to complete before the service is started?
I guess I could change the service to "manual", and have my startup task start it. Is there a better way than this?