Most worker tasks store at least one record with the last time the job ran indicating success or fail with a reason. Some may also have a status record for any failed process records indicating how far they made it and with enough details to diagnose and resume with the failed step once a code or data fix is made.