Skip to content

Commit 4067a04

Browse files
Templates: Output end-time timestamp
1 parent b0b30c8 commit 4067a04

File tree

13 files changed

+38
-6
lines changed

13 files changed

+38
-6
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future.batchtools
2-
Version: 0.12.2-9988
2+
Version: 0.12.2-9989
33
Depends:
44
R (>= 3.2.0),
55
parallelly,

inst/templates/bash.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ echo
6969
writeLines(shutdown)
7070
} %>
7171

72+
echo "End time: $(date +"%Y-%m-%d %H:%M:%S%z")"
73+
7274
## Relay the exit code from Rscript
7375
exit "${res}"

inst/templates/lsf.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,7 @@ fi
106106
writeLines(shutdown)
107107
} %>
108108

109+
echo "End time: $(date +"%Y-%m-%d %H:%M:%S%z")"
110+
109111
## Relay the exit code from Rscript
110112
exit "${res}"

inst/templates/openlava.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,7 @@ fi
106106
writeLines(shutdown)
107107
} %>
108108

109+
echo "End time: $(date +"%Y-%m-%d %H:%M:%S%z")"
110+
109111
## Relay the exit code from Rscript
110112
exit "${res}"

inst/templates/sge.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,7 @@ fi
115115
writeLines(shutdown)
116116
} %>
117117

118+
echo "End time: $(date +"%Y-%m-%d %H:%M:%S%z")"
119+
118120
## Relay the exit code from Rscript
119121
exit "${res}"

inst/templates/slurm.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,7 @@ fi
104104
writeLines(shutdown)
105105
} %>
106106

107+
echo "End time: $(date +"%Y-%m-%d %H:%M:%S%z")"
108+
107109
## Relay the exit code from Rscript
108110
exit "${res}"

inst/templates/torque.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,7 @@ fi
108108
writeLines(shutdown)
109109
} %>
110110

111+
echo "End time: $(date +"%Y-%m-%d %H:%M:%S%z")"
112+
111113
## Relay the exit code from Rscript
112114
exit "${res}"

man/batchtools_bash.Rd

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_lsf.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_openlava.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)