Skip to content

Cron jobs not guaranteed to completed in specific order #87

Description

@SophiaWhiteMA

Despite needing to execute in a specific order, the cron jobs for HGNRest are not guaranteed to do so.

Jobs are scheduled a few minutes apart under the assumption that job A will be finished by the time job B begins.

Solution: refactor the existing cron jobs into a single job that uses async / await to guarantee jobs finish in the desired order, possibly even more quickly than they currently do.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions