Added initial debug message of SQLite DB location

pull/8/head
Paulo Truta 2021-05-03 21:02:09 +00:00
parent 6cb3e198f0
commit d975710445
1 changed files with 3 additions and 4 deletions

View File

@ -73,7 +73,6 @@ func main() {
log.Printf("System not ready. Next try will be executed in 60 seconds")
time.Sleep(defaultNotReadySleepTime)
}
}
@ -93,8 +92,8 @@ func printVersion() {
func printDbDetails() {
fmt.Printf(
"\n\nDatabase Connection Information:\n %s\n\n",
utils.GetMySQLDbConnectionDetails(),
"\n\nSQLite Database Location:\n %s\n\n",
utils.GetSQLiteDbConnectionDetails(),
)
}
@ -112,7 +111,7 @@ func isDatabaseReady() bool {
func systemIterator(name *string, tick int) {
log.Printf("Tick is %d", tick)
tasks.ExecuteSchedules(tick)
nextTask := tasks.GetNextTask()
if nextTask.Task != "" {