Skip to content

How can i run scheduled Job in ArcadeDB ? #242

Closed

Description

@JusticeN

ArcadeDB Version: 21.12.1-SNAPSHOT

JDK Version: 11

OS: windows

Expected behavior

Actual behavior

Steps to reproduce

Hello,
like orientdb with features like "OSchedule", "OTriggered", "OFunction".

Is it possible to have a similar feature in Arcadedb?

something like ASchedule, ATriggered, AFunction.

My use case is to create background Jobs.

thank in advance

Activity

  1. JusticeN commented on Dec 16, 2021

    @JusticeN
    Author

    Does it make sense to

    update the engine

    1- define an internal AFunction Document with properties
    2- make Afunction works on each Language (sql, graphql, ...)

    create a funcctions plugin

    which will implements the ServerPlugin interface.
    1- create Standard Document for ASchedule, ATriggered and ABatch (for long running tasks)
    2- make Afunction works with both

    does it make sense or am i missing something ?

  2. lvca commented on Dec 17, 2021

    @lvca
    Member

    Hi @JusticeN unfortunately the scheduler is not presented in ArcadeDB (together with sequences and other features available in OrientDB). No idea about having this feature in the future. Maybe if a sponsor is requesting it we could evaluate the impact on the implementation.

    What I'd suggest is to create your own Document records representing the task to execute and write a small component that uses the Java TimerTask class to schedule events.

  3. self-assigned this
    on Dec 17, 2021
  4. added
    question
    on Dec 17, 2021
  5. JusticeN commented on Dec 17, 2021

    @JusticeN
    Author

    Hello @lvca Thanks you for the quick reply

  6. lvca commented on Dec 17, 2021

    @lvca
    Member

    @JusticeN np. If you need help, of course, write on Discussions ;-)

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

Metadata

Metadata

Assignees

Labels

question

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions