Commit Graph

20 Commits (remove-cloud-prod)

Author SHA1 Message Date
Malachi Soord 0680b7ffb9
GetPath improvements (#20)
* Use named variables for getting path
Fixed bug with env var

* Fix test

* Use utils to get paths
2022-10-08 18:41:37 +02:00
Paulo Truta 81b545f868 Fix wrong handling of task arguments in systemIterator 2021-05-22 13:30:23 +00:00
Paulo Truta d975710445 Added initial debug message of SQLite DB location 2021-05-03 21:02:09 +00:00
Paulo Truta 0ed5297f6d Renaming everything to edgeboxctl 2021-03-04 12:43:49 +00:00
Paulo Truta 595c87c19c Extracted isSystemReady to outer loop 2021-02-18 23:08:28 +00:00
Paulo Truta 57a9ef3eed Moved sleep instruction to after execution of lined task 2021-02-18 23:02:31 +00:00
Paulo Truta 59707b8abd Fixed small typo, replaced DB connection details in Makefile by .env loading 2021-02-17 12:10:15 +01:00
Paulo Truta ad28e1a505 Added edgeapps package, cleaned up redundancies 2021-02-15 20:37:16 +01:00
Paulo Truta 9f20211bf4 Introduced tick counter and ExecuteSchedules for execution of recurrent no argument tasks 2021-02-15 18:14:46 +00:00
Paulo Truta c3d283c243 Check for .ready file in ws directory 2021-02-13 21:52:08 +01:00
Paulo Truta 47df72777b Added base task execution algo 2021-02-13 21:49:09 +01:00
Paulo Truta 4bb060ba5f Laying out the structure of the Tasks package, and how it will be called in the systemIterator in main 2021-02-13 17:04:57 +01:00
Paulo Truta 8845cb11de Renamed module database into tasks 2021-02-13 16:06:13 +01:00
Paulo Truta 375bb03dfe Added database module with exportable functions 2021-02-13 15:51:14 +01:00
Paulo Truta 28cb163f6d Added specific signal catch only for SIGQUIT 2021-02-12 18:11:36 +00:00
Paulo Truta ad330274db Added base execution loop with readiness check 2021-02-12 18:51:21 +01:00
Paulo Truta 5a4ef2de41 Restructured with helper functions for readiness check 2021-02-12 18:42:22 +01:00
Malachi Soord 972a77173a
Fix 2021-02-11 21:48:41 +01:00
Malachi Soord ef9ab09640
Use fmt 2021-02-11 21:38:43 +01:00
Malachi Soord 9ec7cfd80d
Move main.go 2021-02-11 21:33:05 +01:00