Menu

Is it possible to create a background task that refers to a method inside the datamodel

John Doe
2023-01-26
2023-01-26
  • John Doe

    John Doe - 2023-01-26

    Hello,
    I want to run one of the php methods in the class (defined in the datamodel) in the background.
    Is it possible to do this or is it necessary to create a separate php file with the function and specify the path to it inside priv_backgroundtask?

    I'm using:
    - iTop 3.0.2-1-9957
    - MySQL 10.1.48-MariaDB
    - PHP 7.2.34

    I would also like to know where i can see the step-by-step creation of a background task for crons (the official documentation does not give an understanding of the full picture (or I'm just stupid))

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.