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