iTop extension: molkobain-background-tasks-control-center
Support
If you like this project, you can buy me beer, always appreciated! đ»đ
Description
Manage background tasks (pause, resume, removed), check their execution time. Also visualize async. tasks currently in queue.
Use cases:
- Avoid to have a system access to the DB to handle the following operations.
- Pause a background task that keeps crashing to allow other task to continue running.
- Reschedule a task to another time frame (e.g. for balancing server load).
- See async. tasks in error and rerun them.
Background tasks
Async. tasks
Task reschedule
Online demo
You can try this extension on the online demo. There are some background and async. tasks as an example. Just click on the links below to access it:
- Administration console (admin / admin)
Compatibility
Compatible with iTop 3.2+
Dependencies
- Module
molkobain-handy-framework
- Module
molkobain-newsroom-provider
Downloads
Stable releases can be found on GitHub.
Installation
Installation procedure is the same as for any iTop extension, just follow the instruction on the iTop official documentation here.
Configuration
No configuration needed, the extension can be used out of the box!
Parameters
Some configuration parameters are available from the Configuration editor of the console:
task_lists_refresh_interval
Interval in seconds between 2 auto refresh for the background and async. tasks lists. Default is10
.
Example:
'molkobain-background-tasks-control-center' => array (
'task_lists_refresh_interval' => 10,
),
Q&As
I donât see any background tasks in the dedicated tab
For background tasks to display, you must have iTopâs CRON job running. Check the documentation for more information on how to run it.
I donât see some actions (notifications, webhooks, âŠ) in the âasync. tasksâ tab
For actions to display in the âasync. tasksâ tab:
- First ensure that iTopâs CRON job is running (see documentation)
- Then for each type of actions check the
Asynchronous
field- If set to
Yes
, you are good to go - If set to
False
, ensure that you actually want it to be asynchronous then changed it toYes
orUse global setting
accordingly - If set to
Use global setting
, check that the global setting relative to the type of the action is set totrue
- For email action: Core conf. param.
email_asynchronous
- For newsroom action: Core conf. param.
notifications.itop.send_asynchronously
- For webhook action: Module
combodo-webhook-integration
conf. param.prefer_asynchronous
- For email action: Core conf. param.
- If set to
Licensing
This extension is under AGPLv3.