function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prateek ChaturvediPrateek Chaturvedi 

ApexJob RollBack

how to rollBack apex job by using Database.Savepoint 
kcpluspluskcplusplus
I would start by reviewing the help doc here on transaction control, https://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_transaction_control.htm. That outlines the use of the database savepoints and rollback, and if you have a specific issue with that, post it here. 

--KC