Skip to content
CookDex docs
You're reading the docs for CookDex v2026.11.3, an earlier release. See this page in the latest docs.

Task reference

Every CookDex task, with its options, is on one of the pages below. In the web UI, tasks are the jobs on the Tools page, and each job’s sheet links to its section here (More about this job). To run jobs on a schedule, see Scheduling and automations; for what a job may change, see Safety policies.

Task ID In Tools Purpose
clean-recipes Clean up the recipe list Remove duplicate source URLs, filter junk content, and normalize messy import names.
slug-repair Fix recipe web addresses Find recipes whose slug no longer matches their name and fix them.
tag-categorize Tag and categorize Assign categories, tags, and tools with rule matching and optional AI.
ingredient-parse Link ingredients Parse raw ingredient text into structured food, unit, and quantity fields.
cleanup-duplicates Merge duplicate foods, units and tags Merge duplicate food, unit, tag, and category entries.
yield-normalize Fill in servings Fill missing yield text or parse yield text into numeric servings.
recipe-dredger Import from your sources Crawl configured recipe sites, verify recipe pages, filter by language, and import verified URLs into Mealie.
reimport-recipes Refresh recipes from their websites Re-scrape source URLs while preserving recipe identity, favorites, and organization.
health-check Check library health Run read-only recipe quality and taxonomy audits.
mealie-backup Back up Mealie Create a Mealie backup through the admin API and optionally delete older backups this task made.
data-maintenance Not shown The older staged pipeline, replaced by automations. Schedules and automations that already use it keep running.

Tools groups the jobs by what you want to get done: Tidy up recipes, Organize, Bring in recipes, and Check and keep safe. Each job shows the one or two choices most people need; every other option is under More options. Classic tools, linked at the bottom of Tools, lists every job with all its options, schedules and the raw log on one screen, grouped the older way: Data Pipeline, Actions, Organizers and Audits.

Every task works through Mealie’s API. With a database connection saved in Settings → Faster database access (MEALIE_DB_URL), tasks that can use it do so on their own, and fall back to the API with a warning in the log if it can’t be reached. There is no per-task switch. The --use-db flag on the command-line modules still forces it.

Open a job in Tools and choose:

  • Preview: shows what would change and changes nothing. From the preview’s run details, Apply these changes makes the same changes. For jobs whose changes can be picked one by one, Review changes lists each change instead: untick what you want to keep (Select all and Select none work on a whole list) and apply the rest.
  • Apply now…: makes the changes right away, without a review step. Back up Mealie first (recommended) is ticked by default. If an owner hasn’t approved changes from that job, the button is disabled and says so.
  • Run check or Run now: for jobs that only look (Check library health) or do one thing (Back up Mealie).
  • Run automatically…: turns the job into an automation that runs every day or every week.

The Tools page: jobs grouped under Tidy up recipes, Organize and Bring in recipes, each card with a short description and a Preview first badge.

Select a run in Recent activity (on Tools, the Library and other pages) to open its details. The status says Waiting to start, Running, Finished, Didn’t finish or Stopped, and the line under the title says what kind of run it is: Preview, Applying changes while a live run is queued or running, Applied changes once it finished, or Live run for one that failed or was stopped, since only some of its changes may have gone through.

Technical output, at the top, opens the job’s log. It updates while the job runs and shows each stage and summary as tables; Raw text switches to the plain log, and Copy log and Download save it. You can close the details at any time; the job keeps going.

Every running job has a Stop button where you see it: in run details, as Stop scan while the Library scans, and on Discover’s import banner. CookDex asks once first. A job stopped part-way keeps the changes it already made, and its run says “Stopped while running. Changes it made before then stay.” A job stopped before it started changed nothing. Stopping a job while its Mealie backup runs ends the backup, and the job doesn’t start.

Long jobs, such as Link ingredients or a Library scan, run one at a time. Quick changes from Organize, like deleting tags no recipe uses or adding new entries, run beside a long job instead of waiting for it, unless they touch what the long job is changing. For example, with Link ingredients running, deleting an unused tag goes straight through, but deleting the Parser: Needs Review tag waits. Organize changes that make a backup first count as long jobs.

A run that hasn’t started says what it’s waiting for, such as “Waiting for Ingredient Parser (142 of 4,397) to finish”, in run details, Recent activity, the Library’s scan progress and Organize.

Run details for a Tag and categorize preview that says “Waiting for Ingredient Parser (34 of 72) to finish”, with Technical output and Stop buttons. Behind it, Recent activity shows Organize changes already applied while Link ingredients is still running.

CookDex sends Mealie at most 8 requests at a time, counting all running jobs and the pages you have open (Organize’s lists, the overview, and connection and status checks). Two of them are kept for quick changes and page loads, so those don’t wait behind a long job. If every slot is busy, a page’s request waits at most 2 seconds and then goes ahead anyway, so a page is never stuck behind a long job. To change the limit, open Settings → Updates and runs, click 1 more setting, and set Requests to Mealie at once (1 to 32). Lower it if Mealie slows down while jobs run.

Runtime settings are managed through GET /settings and PUT /settings.

  • Non-secret values are stored in the app state database.
  • Secret values are encrypted at rest.
  • Task runs receive the effective runtime environment built from the settings catalog.
  • .env is only for container settings (port, base path, HTTPS, headless bootstrap). On first start, older .env values for catalog settings are copied into Settings once, and the Settings page is the source of truth from then on.

Main setting groups:

Group Examples
Connection MEALIE_URL, MEALIE_API_KEY
AI CATEGORIZER_PROVIDER, OPENAI_API_KEY, OPENAI_BASE_URL, ANTHROPIC_API_KEY, OLLAMA_URL, model settings; see AI providers
Dredger DREDGER_TARGET_LANGUAGE, DREDGER_CRAWL_DELAY, DREDGER_CACHE_EXPIRY_DAYS
Faster database access MEALIE_DB_URL, optional SSH settings (MEALIE_DB_SSH_HOST, _USER, _KEY)
Runner MAX_RUN_DURATION_SECONDS, MEALIE_BACKUP_TIMEOUT_MINUTES, DELETED_RECIPES_KEEP_DAYS, MEALIE_MAX_PARALLEL_REQUESTS

Every setting is editable in Settings, which is also the complete reference: each field shows its group, default, and description. A few that are easy to miss:

Setting Default Purpose
MEALIE_BACKUP_TIMEOUT_MINUTES 30 How long to wait for Mealie to finish a backup (Wait for a Mealie backup), up to 240 minutes. It was 15 before 2026.10.1; a value you saved yourself stays.
DELETED_RECIPES_KEEP_DAYS 30 Keep deleted recipes for (days): how long copies of recipes the cleanup deleted stay in Recently deleted, 1 to 3650.
MEALIE_MAX_PARALLEL_REQUESTS 8 Requests to Mealie at once; see Requests to Mealie.
UPDATE_CHECK_ENABLED true Check GitHub for releases on startup and about daily. Disabled means no update request. Only the app version is sent; GitHub sees the server network address. Failures show no banner.
AI_BATCH_HEARTBEAT_SECONDS 30 Seconds between progress messages while an AI batch is in flight. Set 0 to disable.
OLLAMA_REQUEST_TIMEOUT 300 Seconds to wait for each Ollama request before retrying.
OLLAMA_NUM_THREAD 4 CPU threads used by Ollama generation. Raise it if the host has cores to spare.

The web UI keeps the most recent 500 runs. Older run records are pruned by a periodic housekeeping job, along with their log entries; task log files are rotated separately by the runner. Export anything you need to retain long-term before it ages out.