-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexampleConfig.js
More file actions
53 lines (50 loc) · 1.46 KB
/
Copy pathexampleConfig.js
File metadata and controls
53 lines (50 loc) · 1.46 KB
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
(function () {
var transport = {
'service': 'Gmail',
'auth': {
'user': 'username',
'pass': 'password'
}
},
paperSize = {
'format': 'A4',
'margin': '1cm',
'orientation': 'portrait'
},
winston = {
'silent': false,
'level': 'info',
'colorize': false,
'timestamp': true,
'prettyPrint': true,
'showLevel': true,
'debugStdout': true,
'handleExceptions': false
};
return {
'jobs': [
{
'subject': 'Email sent every 5 minutes',
'body': 'Hi, please see attached',
'bodyHtml': 'Hi! <br /> <br /> Please see attached <br /><br />- The team',
'page': {
'url': 'http://www.mindera.com/',
'method': 'get',
'data': ''
},
'cron': '0 */5 * * * *',
'from': {
'name': 'From Name',
'email': 'noreply@mindera.com'
},
'to': ['joe@example.com'],
'cc': ['moo@example.com'],
'paperSize': paperSize,
'transport': transport
}
],
'automaticConfigReload': true,
'timezone': 'Europe/London',
'winston': winston
}
})();