chore(jobsystem): add module stub for new jobsystem main entry point

This commit is contained in:
Sarah Vaupel 2023-10-23 23:32:00 +00:00
parent 29bffb6a47
commit fc00b56b04
2 changed files with 18 additions and 0 deletions

View File

@ -57,8 +57,12 @@ import qualified Data.UUID.V4 as UUID
import System.Directory
-- old job system
import Jobs
-- new job system
import JobSystem
import qualified Data.Text.Encoding as Text
import Yesod.Auth.Util.PasswordStore

14
src/JobSystem.hs Normal file
View File

@ -0,0 +1,14 @@
-- SPDX-FileCopyrightText: 2023 Sarah Vaupel <sarah.vaupel@uniworx.de>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later
module JobSystem
(
) where
-- TODO: add gitlab.uniworx.de/barth/jobsys as dependency to be able to import JobSchedulerWorld and its function
-- import Jobsys.JobSystem
-- TODO: define JobSchedulerWorld instance for managing job workers, scheduler, and communation in-between
-- instance JobSchedulerWorld world where
-- ...