https://github.com/sah4ez/jboss-scheduler-cli
https://github.com/sah4ez/jboss-scheduler-cli
jboss mbean python-script scheduler-service
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sah4ez/jboss-scheduler-cli
- Owner: sah4ez
- License: mit
- Created: 2017-08-04T06:26:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T06:54:55.000Z (almost 9 years ago)
- Last Synced: 2025-02-09T14:17:48.782Z (over 1 year ago)
- Topics: jboss, mbean, python-script, scheduler-service
- Language: Python
- Size: 6.98 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jboss-scheduler-cli
Simple CLI for edit scheduler-service.xml in JBoss server.
# Install
Run `install.sh`.
# About
Base dir for scheduler-tool: `$HOME/.local/bin/scheduler/`
For loggin use path: **/var/log/scheduer/all.log**
Check exist it, or create.
If you whant use tmplate for create MBean in your scheduler-service, you can edit template.xml in Base dir.
# Depends
- lxml=3.8.0
- Python3.6
# Issues
If you have **ImportError etree**, please check package: `libxslt` and `libxml2`
Header of `scheduler.py` contains `#!/usr/local/bin/python3.6`
# How use
`>$ scheduler-tool help`
```
scheduler COMMAND [path_to_file]
if scheduler-service.xml exist in current dir path_to_file can be empty.
COMMAND:
list - print list all MBeans
disable NAME - disable specific MBean
enable NAME - enable specific MBean
create - dialogue for create MBean
tcreate - dialogue for create MBean from template.xml in Base dir
edit NAME - change specific attribute
specific edit command:
edit event - change value Event.class
edit args - change value attributes of Event.class
find NAME - print found MBean
```