Tripal Daemon
Categories
Component ID
2313567
Component name
Tripal Daemon
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
422
Component created
Component changed
Component body
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
- Install the Libraries API & Drush Daemon API
- Download this module and put it in your sites/all/modules directory
- Enable Both the Libraries API, Daemon API & Tripal Daemon on your site at Administration > Modules
