aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: cd9021437641a6cf2a8968ddbbe9c361174d48d5 (plain)
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
Birthday
========

Notify by email if there is a birthday today. This program is intended to be
launched everyday.

Create birthdates.csv which stores birthdates:

```
23 Oct 1982, Jean, Dupont
30 Jan 1955, Anne, Doe
08 May 1980, Eric, Carter

```

Create config.txt:

```
mail-to = john.dupont@mail.com
mail-from = no-reply@service.com
day-for-next-week-notification = Friday
```

The usage is as follow:

```
cabal sandbox init
cabal instal --only-dependencies
cabal build
./dist/build/birthday/birthday
```