updated minimal json and replaced mail task with logger task
This commit is contained in:
parent
177f503409
commit
755a0dcf23
1 changed files with 6 additions and 11 deletions
|
|
@ -1,18 +1,13 @@
|
||||||
{
|
{
|
||||||
"tasks": {
|
|
||||||
"mail":{
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 25,
|
|
||||||
"from": "linspector@linspector.org",
|
|
||||||
"username": "",
|
|
||||||
"password": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"members":{
|
"members":{
|
||||||
"root":{
|
"root":{
|
||||||
"_name": "root",
|
"_name": "root",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{ "class":"alert/mail", "type": "error", "args": { "_rcpt": "hanez@linspector.org" }}
|
{
|
||||||
|
"class": "storage/logger",
|
||||||
|
"type": [ "ok", "warning", "error" ],
|
||||||
|
"args": { "directory": "/tmp/", "file": "data.log" }
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue