This module provides the ability to start a Daemon to execute Tripal Jobs. This ensures that Tripal jobs are run promptly when submitted with intervention by a Tripal Administrator. This is particularly useful if you are allowing non-Tripal Administrators to submit jobs such as is the case with the BLAST UI module.

Features

  • Start Daemon processes to monitor & run Tripal Jobs
  • Controlled via simple Drush commands (See Usage Below)
  • Lock Files, Automatic restart (8hrs default) and Built-in Signal Handling & Event Logging are only a few of the features provided by the PHP_Daemon Library making this a fully featured & robust Daemon

Usage

Start Daemon

  • drush trpjob-daemon start
  • Start it in the background & detached: drush trpjob-daemon start --deamonize

Stop Daemon

  • drush trpjob-daemon stop

Check the Status

  • drush trpjob-daemon status

Show the Log

  • List the last 10 lines of the log file: drush trpjob-daemon show-log
  • List the last N lines of the log file: drush trpjob-daemon show-log --num_lines=N

Requirements

Installation

  1. Install the Libraries API & Drush Daemon API
  2. Download this module and put it in your sites/all/modules directory
  3. Enable Both the Libraries API, Daemon API & Tripal Daemon on your site at Administration > Modules

Project information

Releases