Skip to content

Enable / Disable face recognition via occ command #943

Answered by marcelklehr
Schema-F asked this question in Q&A
Discussion options

You must be logged in to vote

I want to run the detection only through specific hours a day with crontab.

You can achieve this by setting a maintenance window (see https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#parameters )

Alternatively you can use

  • occ config:app:set recognize faces.enabled --value "true"
  • occ config:app:set recognize faces.enabled --value "false"
  • occ config:app:set recognize imagenet.enabled --value "true"
  • occ config:app:set recognize imagenet.enabled --value "false"

Note however, that these config keys may change at any time without warning.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by marcelklehr
Comment options

You must be logged in to vote
2 replies
@marcelklehr
Comment options

@khlschrnk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants