소스 검색

Add Cron Instructions to the README

Using Cron with mutt-wizard is not intuitive for new users, since mutt-wizard requires the shell variables in `~/.profile`.
pull/562/head
Luke Bubar 3 년 전
committed by GitHub
부모
커밋
32caf63328
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. +9
    -0
      README.md

+ 9
- 0
README.md 파일 보기

@@ -54,6 +54,15 @@ The mutt-wizard is run with the command `mw`. Once everything is setup, you'll u
- `-f` -- Assume mailbox names and force account configuration without connecting online at all.
- `-o` -- Configure mutt for an account, but do not keep mail offline.

## Update Mailbox with Cron

Since mutt-wizard requires shell variables stored in `~/.profile`, you will need to add `. $HOME/.profile` to your cronjobs. For example, to have mail update every 10 minutes, this is the line that should appear in the crontab file:
```
*/10 * * * * . $HOME/.profile; /usr/bin/mw -Y
```

Remember to use cron as the same user the mail is, not root. (IE, run `crontab -e`, not `sudo crontab -e`).

## Dependencies

- `neomutt` - the email client.


불러오는 중...
취소
저장