Skip to content

Commit

Permalink
Add exit_after_poll setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jertel authored Dec 29, 2023
1 parent 53fc600 commit 177c65d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ An example configuration file is shown below, followed by descriptions of each s
| socket_timeout_seconds | false | Number of seconds (can be a decimal value) before timing out the POP3 connection. Defaults to 30 seconds.
| delete_messages | true | If set to 1, the messages will be deleted from the inbox after successful parsing. If set to 0, the messages will not be deleted (useful for debugging)
| delete_failures | false | If set to 1, invalid email messages will be deleted from the inbox. If set to 0, the failed messages will not be deleted (useful for debugging)
| exit_after_poll | false | If true, the process will exit after processing new messages. (useful for cron scheduling)

## Environment Variables

Expand All @@ -108,6 +109,7 @@ The following environment variables are used as inputs for sensitive information
| SOCKET_TIMEOUT_SECONDS | false | Number of seconds (can be a decimal value) before timing out the POP3 connection. Defaults to 30 seconds.
| DELETE_MESSAGES | true | If set to 1, the messages will be deleted from the inbox after successful parsing. If set to 0, the messages will not be deleted (useful for debugging)
| DELETE_FAILURES | false | If set to 1, invalid email messages will be deleted from the inbox. If set to 0, the failed messages will not be deleted (useful for debugging)
| EXIT_AFTER_POLL | false | If true, the process will exit after processing new messages. (useful for cron scheduling)

## Docker

Expand Down

0 comments on commit 177c65d

Please sign in to comment.