Check status of a run
scripts_get_r_runs(id, run_id)
A list containing the following elements:
integer, The ID of the run.
integer, The ID of the r.
string, The state of the run, one of 'queued' 'running' 'succeeded' 'failed' or 'cancelled'.
boolean, True if run cancel requested, else false.
string, The time the run was created.
string, The time the run started at.
string, The time the run completed.
string, The error, if any, returned by the run.
number, If the run has finished, the maximum amount of memory used during the run, in MB.
number, If the run has finished, the maximum amount of cpu used during the run, in millicores.
integer required. The ID of the r.
integer required. The ID of the run.