Browse Source

Update README.md

pull/563/head
Luke Bubar 4 years ago
committed by GitHub
parent
commit
5f2ba63b04
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      README.md

+ 9
- 0
README.md View File

@@ -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. - `-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. - `-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 ## Dependencies


- `neomutt` - the email client. - `neomutt` - the email client.


Loading…
Cancel
Save