Using Sprintf to convert from int64 to string of digits
parent
df13bf705d
commit
113785def4
|
@ -394,7 +394,7 @@ func ExecuteSchedules(tick int) {
|
||||||
log.Println(taskAutoBackup())
|
log.Println(taskAutoBackup())
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
log.Println("Last backup is " + string(secondsSinceLastBackup) + " seconds old (less than 1 hour ago), skipping auto backup...")
|
log.Println("Last backup is " + fmt.Sprint(secondsSinceLastBackup) + " seconds old (less than 1 hour ago), skipping auto backup...")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue