Skip to contents

Write an error log entry for the job

Usage

write_error_job_log_entry(con, job_duration, job_summary)

Arguments

con,

a DB connection

job_duration,

the duration of the job in seconds

job_summary,

the summary of the job performed as JSON

Examples

if (FALSE) { # \dontrun{
 write_error_job_log_entry(
   conn = con,
   job_duration = 30,
   job_summary = as.json("Update vaccination status")
 )
} # }