diff --git a/README.md b/README.md index f46e044..eaec8e9 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,10 @@ Edit as you need the config file: ``` sudo nano /home/incoming/mail2deck/config.php ``` +### Add a cronjob which will run mail2deck. +``` +sudo crontab -u incoming -e +``` +Add the following line in the opened file: +*/5 * * * * /usr/bin/php /home/incoming/mail2deck/index.php >/dev/null 2>&1 +