diff --git a/src/server/pps/server/master.go b/src/server/pps/server/master.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/master.go
+++ b/src/server/pps/server/master.go
@@ -475,7 +475,7 @@ func (a *apiServer) makeCronCommits(pachClient *client.APIClient, in *pps.Input)
 		return err
 	} else if commitInfo != nil && commitInfo.Finished == nil {
 		// and if there is, delete it
-		if err = pachClient.DeleteCommit(in.Cron.Repo, "master"); err != nil {
+		if err = pachClient.DeleteCommit(in.Cron.Repo, commitInfo.Commit.ID); err != nil {
 			return err
 		}
 	}
Potentially avoid race in makeCronCommits