mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-11-13 03:49:47 +01: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")
|
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 != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user