nextcloud / nextcloud/recognize

Have custom cron job intervals

Open
#634 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
699
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Describe the feature you'd like to request

The cron job interval of 5 minutes keeps the system from going to deep sleep. Even if there are no new files a whole scan is performed.

I would like to configure my own scan intervals.

Describe the solution you'd like

Either via the administrative settings configure a custom interval, or disable the background job and configure my own cron in /etc/cron.hourly for example.

Describe alternatives you've considered

Similar as it is done with the face recognition app.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named; start by tracing the existing five-minute background scan and comparing its scheduling with the face recognition app. Use /etc/cron.hourly as the external scheduling reference, and define done as either an administrative custom interval or a documented way to disable the job and schedule scans externally.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.