ezWriteElapsed: Writes elapsed time of job

View source: R/messaging.R

ezWriteElapsedR Documentation

Writes elapsed time of job

Description

Writes the current date and time, the status and how much time elapsed since the jobs' start.

Usage

ezWriteElapsed(job, status = "done", con = stderr())

getElapsed(x)

Arguments

job

a list with fields $name and $start.

status

a character describing the status of the job.

con

the connection to the file to write in.

x

corresponds to job$start.

Functions

  • getElapsed: Gets the elapsed time in minutes since a reference time.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

con = file("example.txt", "w")
job = ezJobStart("a job",con=con)
ezWriteElapsed(job,con=con)
close(con)

uzh/ezRun documentation built on Sept. 16, 2024, 11:21 p.m.