diff --git a/src/Application.hs b/src/Application.hs index 90d344bfd..356dc186f 100644 --- a/src/Application.hs +++ b/src/Application.hs @@ -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 diff --git a/src/JobSystem.hs b/src/JobSystem.hs new file mode 100644 index 000000000..c4847e577 --- /dev/null +++ b/src/JobSystem.hs @@ -0,0 +1,14 @@ +-- SPDX-FileCopyrightText: 2023 Sarah Vaupel +-- +-- 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 +-- ...