In this chapter, we will cover the creation of jobs in TFS and demonstrate the updating of work items on a schedule. The topics covered in this chapter are:
Creating a job that will be able to perform the same job as the work item changed plugin, as discussed in the previous chapter, which includes:
Writing the code
Deploying the code
Registering the custom job and adding it to a schedule
Verifying that the job is installed
Checking the job history
Debugging a TFS job
Deregistering the custom job with TFS
In TFS, jobs are the best place to place logic that you would want to run on a schedule, unlike the server plugins that run on every work item change and only once per change. It is important to know though that the TFS Background Job Agent is not designed for time-critical jobs such as seconds, minutes, and so on.