forked from jamesrwhite/minicron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminicron.toml
81 lines (73 loc) · 1.84 KB
/
minicron.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Example config file
# Global options
verbose = false
debug = false # Useful for debugging
# Client options
[client]
[client.server]
scheme = "http" # [http, https]
host = "127.0.0.1"
port = 9292
path = "/"
connect_timeout = 5
inactivity_timeout = 5
# CLI options
[client.cli]
mode = "line" # [line, char]
dry_run = false
# Server options
[server]
host = "127.0.0.1"
port = 9292
path = "/"
pid_file = "/tmp/minicron.pid"
timezone = "UTC"
[server.session]
name = "minicron.session"
domain = "127.0.0.1"
path = "/"
ttl = 86400
secret = "change_me"
[server.database]
type = "sqlite" # [mysql, postgresql, sqlite]
# The options below are for mysql and postgresql only
# host = "127.0.0.1"
# database = "minicron"
# username = "minicron"
# password = "password"
[server.ssh]
connect_timeout = 10
# Alerting options
[alerts]
[alerts.email]
enabled = false
# from = "[email protected]" # "Your Name <[email protected]>" syntax is also supported
# to = "[email protected]"
[alerts.email.smtp]
address = "localhost" # "smtp.gmail.com" for gmail
port = 25 # 587 for gmail
# domain = "your.domain.name"
# user_name = "[email protected]"
# password = "password"
# authentication = "plain"
enable_starttls_auto = true
[alerts.sms]
enabled = false
# from = "+442222222222"
# to = "+443333333333"
[alerts.sms.twilio]
# account_sid = "YOUR_TWILIO_ACCOUNT_SID"
# auth_token = "YOUR_TWILIO_AUTH_TOKEN"
[alerts.pagerduty]
enabled = false
# service_key = "YOUR_PAGERDUTY_SERVICE_KEY"
[alerts.aws_sns]
enabled = false
# secret_access_key = "YOUR_SECRET_ACCESS_KEY"
# access_key_id = "YOUR_ACCESS_KEY_ID"
# region = "AWS_REGION"
# topic_arn = "YOUR_SNS_TOPIC_ARN"
[alerts.slack]
enabled = false
#webhook_url = "YOUR_SLACK_WEBHOOK_URL"
#channel = "#YOUR_SLACK_CHANNEL"