home · contact · privacy
Fix shell escaping bug in crontab installation guide.
[pingmail.git] / README
1 Small shell script to regularly check a target person's responsiveness via mail.
2
3 When run as "pingmail check", searches a maildir for the most recent file
4 matching a regex pattern (such as a "From: " field matching the target person),
5 and if the most recent file is too old, sends an e-mail to the target person
6 requesting some sign of life. After some more wait time without a sign of life,
7 sends a warning message to another mail address that target person is
8 unresponsive.
9
10 The wait time counter can be reset manually with "pingmail touch".
11
12 The wait time, the target and checking persons' mail addresses, the regex, the
13 maildir path etc. must be set in a dotfile ~/.pingmailrc. See comments in
14 pingmailrc.example file for more details.
15
16 To install as an hourly cronjob, define $path_to_pingmail_script_file, then do:
17
18 line='0 * * * * '$path_to_pingmail_script_file' check'
19 (crontab -l; echo "$line") | crontab -