Added initial debug message of SQLite DB location
parent
6cb3e198f0
commit
d975710445
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in New Issue