File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
share/github-backup-utils Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ log_warn "Warning: storing backup-utils version remotely failed."
388
388
# Stop cron and timerd, as scheduled jobs may disrupt the restore process.
389
389
log_info " Stopping cron and github-timerd ..."
390
390
if $CLUSTER ; then
391
- bm_start " stop_cron_github_timerd "
391
+ bm_start " stop_cron "
392
392
if ! ghe-ssh " $GHE_HOSTNAME " -- " ghe-cluster-each -- sudo service cron stop" ; then
393
393
log_warn " Failed to stop cron on one or more nodes" 1>&3
394
394
fi
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ bm_end() {
49
49
local tend tstart total
50
50
tend=$( date +%s)
51
51
tstart=$( eval " echo \$ $( bm_desc_to_varname " $@ " ) _start" )
52
+ echo " tend: $tend "
53
+ echo " tstart: $tstart "
52
54
total=$(( $tend - $tstart ))
53
55
54
56
echo " $1 took ${total} s" >> $BM_FILE_PATH
You can’t perform that action at this time.
0 commit comments