FeatureFuel
6

Skip scheduled email fetch task when no email accounts are configured

Source: paperless-ngx/paperless-ngx#13396 · opened by @wegomyway
Description

After upgrading to Paperless-ngx 3.x, the scheduled task
paperless_mail.tasks.process_mail_accounts runs every 10 minutes even when no email accounts are configured.

The task completes successfully within a few milliseconds and returns:
"No new documents were added."

There is no functional problem, but the task appears permanently in the Scheduled Tasks list and may confuse users because the email import feature is not used.

Would it be possible to only schedule this task when at least one email account exists?

Other

Scheduler: Sending due task Check all e-mail accounts
paperless_mail.tasks.process_mail_accounts
succeeded in 0.05s: 'No new documents were added.'

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests