In this chapter, we are going to cover TFS scheduled jobs. The topics that we are going to cover include:
Writing a TFS job
Deploying a TFS job
Removing a TFS job
You would want to write a scheduled job for any logic that needs to be run at specific times, whether it is at certain increments or at specific times of the day. A scheduled job is not the place to put logic that you would like to run as soon as some other event, such as a check-in or a work item change, occurs.
In our example, we'll create a TFS job that will be able to replace one of the examples we created in Chapter 6, Enforcing Standards with Server-Side Plugins. It will automatically link change sets to work items based on the comments.