mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 14:20:56 +02:00
Added initial debug message of SQLite DB location
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user