You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/31-long-running-job.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,12 @@ Once job is completed successfully, you can call getJobResult to retrieve the jo
83
83
84
84
Once you get the job result, you can delete the job.
85
85
```R
86
-
rAzureBatch::deleteJob(jobId)
86
+
deleteJob(jobId)
87
+
```
88
+
89
+
Please note deleteJob will delete the job at batch service, by default, it also deletes the storage container holding the job result. If you want to keep the job result around, you can set deleteResult parameter to FALSE
90
+
```R
91
+
deleteJob(jobId, deleteResult=FALSE)
87
92
```
88
93
89
94
A [working sample](../samples/long_running_job/long_running_job.R) can be found in the samples directory.
0 commit comments