Results and jobs
Where results land, how jobs are saved and scheduled, and the job form field by field.
On this page
Results#
Results, Jobs, Sites and Site test all use the same working folder: where you run kryptix_sdk.py and where items.db / results.jsonl / kryptix_jobs.json live.
| Item | What it does |
|---|---|
| Folder | Choose… opens Windows' Open dialog in folder mode; you can also type the path and press Reload. Show folder reveals it in Explorer. Your choice is remembered. |
| SDK | Says whether kryptix_sdk.py is in the folder and matches this version. If missing, Put kryptix_sdk.py here writes it; if different the button becomes Update it (press twice within 5 seconds; the old file is kept as .bak). Run and Runner stay disabled without the SDK. |
| Result files | .db, .jsonl, .csv and .webhook-failed.jsonl files, newest first (up to 200). A file is made when the job first runs, if its command has --out. |
| Report | Click a file: per-site success, failure reasons, pages that came back empty (usually a silent block) and what to change. Copy report, Save as web page…, Show file; Open (Excel) for a .csv; Copy the resend command for a failed-webhook file (replace ADDRESS with your own address). |
*** on screen, in logs and in copied text.Jobs#
A job is a saved bulk command with a name and a schedule (kryptix_jobs.json). The manager does not run jobs itself: they run in a console where Python and Playwright are installed. Add one with Add a job… or from the command line:
python kryptix_sdk.py jobs add NAME --every 6h -- bulk urls.txt --out items.db --dedupe link
| Item | What it does |
|---|---|
| Table | Name, Schedule (every 6h, daily 09:00), Next run, Result, whether it is running. Refreshes every 5 seconds, only while this tab is open. |
| Run ▶ | Starts jobs run NAME in a new console in the folder. |
| Log | Shows the end of the job's latest log (at most the last 40 KB). |
| Details | Shows the command with secrets masked. |
| Edit | Opens the job in the job form. |
| Remove | Two steps: Sure? then remove. Only the kryptix_jobs.json entry goes; result files and logs stay. |
| Runner | Start the runner (console) opens the small program that starts due jobs: keep its window open. Windows Task Scheduler line prints a ready schtasks line (it creates nothing; pasting it is up to you). At most every 5 minutes; Kryptix Manager must be running when a job starts; a running job is not started twice and one longer than Longest run is stopped. |
The Python line: which Python, can it see Playwright?
The line above the table shows which Python the console will use and whether it can see Playwright (it really tries import playwright). The Python is the first python.exe on the manager's PATH (restart Kryptix if you change Python or PATH).
| Colour | Meaning |
|---|---|
| Green Playwright ✓ | Ready. |
| Red | Run and Runner open no console; the install command is shown (Copy the command). After installing press Check again. The details say why: the error Python gave, which Windows user Kryptix runs as, where Python looks for user packages. |
| Yellow | Could not be checked (a timeout, for instance). Buttons are not blocked. |
If Kryptix runs as another Windows user, or with another APPDATA, the same python.exe may see Playwright in your terminal but not in Kryptix's console. To compare:
python -c "import site, playwright; print(site.getusersitepackages()); print(playwright.__file__)"
The job form#
Add a job… is the form version of jobs add … -- bulk …. The form only saves the job: it opens no browser, fetches no page and sends nothing. Save and run saves, then opens the ▶ console. Edit on a job's row fills the form with that job.
| Field | What it does |
|---|---|
| Job name | Letters, digits, _ . -; at most 40 characters. The record's key; locked while editing. |
| URL list | A .txt in the working folder, one address per line. Filled in for you if the folder holds a single .txt. Also by Browse…, Paste… (type or paste the addresses, the form saves them as a file) or drag-and-drop (below). |
| When should it run | Only by hand (▶) · Repeating: every N minutes / hours / days (5 minutes – 30 days) · Every day at HH:MM (this computer's clock). |
| Results file | .csv, .jsonl or .db; typing a name suggests name.csv. |
| Longest run (minutes) | 1–1440, default 180; a longer run is stopped. |
| Row selector | Optional (--rows): the CSS selector of one item block on a list page; fields are searched inside each block and each block becomes a row. |
| Fields | Name + CSS selector (--select), up to 50. a@href, img@src take an attribute (links and images come back as full addresses); [] takes every match. With none, the page title and description are saved. |
| Repeat field | Optional (--dedupe): items with the same value here are kept once. With a .db a new item is added, a changed one updated, its old value kept in the changes table. |
| Extra options | Optional, one line: bulk options spelled in full, e.g. --next "li.next a" --max-pages 3, --proxies proxies.txt. Quote inside quotes: \". No abbreviations; options with their own box, --url and -h cannot be written here. |
Checks and the command-line equivalent
The SDK itself does the checking (no browser, the same checks bulk runs before it starts). It checks half a second after you stop typing; the culprit box gets a red frame and Save stays disabled until it is green. Below the form the line you would type to add the same job from the command line shows live; Copy puts it on the clipboard (secrets are ***).
Same name, editing, secret values
If a job with the same name exists the form says so and the button becomes Replace (run count, last result and logs are kept). A running job cannot be changed. The webhook address (its path), --webhook-secret and --webhook-header values show as *** (***#2, ***#3). If you leave the placeholder the saved value is kept; type a new value and that is used; delete the option and the secret goes too. A job the form cannot show faithfully is not opened and the command-line way (jobs add … --replace) is shown.
Browse and drag-and-drop
Browse… (right of the URL list box) lets you pick a .txt; or drag a .txt from Explorer onto any part of the form and it becomes the address list. Drop it on Extra options and it becomes the proxy list: --proxies file.txt is written (if there is one, only that changes). While dragging the target gets a green frame.
The window gives the file's name and contents, not its path; so the file is copied into the working folder (nothing is written elsewhere). If the same name and contents are already there nothing is written; same name, different contents: the form asks Replace (old file kept as .bak), Save as “name-2.txt” or Cancel. Only .txt; with several files the first; empty and over-10-MB files are refused; the name must be a plain file name (no path, no / \ : * ? " < > |, no leading . or -, at most 120 characters, no Windows device names such as con, nul or com1). Choosing or dropping a file does not save the job.