Run a saved query or an export on a schedule
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Read apple/AGENTS.md for the scope requirements for a new advanced tool, then inspect apple/TablePro/ViewModels/ServerDashboardViewModel.swift and the AppleScript and MCP entry points named in the issue. The proposal spans scheduling, query execution, export, notifications, safety checks, logging, and pause or resume behavior, so identify the existing module and export patterns before estimating the work. Done means a weekday schedule can write the dated CSV while TablePro is open and record each run in its log.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
Nothing in TablePro runs on its own. A report that has to land every morning is a saved query someone opens, runs and exports by hand. The only timer that queries a database is the Server Dashboard refresh (apple/TablePro/ViewModels/ServerDashboardViewModel.swift:25).
The scripting routes run only when something calls them: AppleScript run query (developers/applescript.mdx) and the MCP export_data tool (developers/mcp-tools.mdx), which writes only into Downloads. So a schedule today is a launchd job the user writes and keeps working.
Proposed solution
- Schedule… on a saved query: at a time of day, on chosen weekdays, or every N minutes or hours, on the query's connection and database.
- Each run can export its result to a chosen folder, in any format the Export dialog offers, with the date and time in the file name, and can post a notification through Settings > Notifications with Show in Finder.
- Unattended means read-only by default. A statement that writes runs only when the schedule says so explicitly, and never on a connection whose Safe Mode asks for confirmation.
- A run never prompts. A connection that needs a typed password, a TOTP code or a confirmation is skipped, and the run is logged as failed with the reason.
- A run log per schedule: start, duration, row count, file written, error. Pause and Run Now on each schedule.
- Schedules run while TablePro is open. A run missed while it was closed is either run once at the next launch or skipped, set per schedule.
- Ships as a module, off by default, as
apple/AGENTS.md(Scope) asks of a new advanced tool.
Done means a saved query set to 08:00 on weekdays writes orders-2026-10-20.csv into the chosen folder each weekday while TablePro runs, and the log shows each run.
Alternatives considered
A launchd job that runs osascript with AppleScript run query, or an MCP client on a timer calling export_data.
Platform
macOS
Related database type
N/A / General
- Vorherrschende Sprache
- Swift
- Sterne
- 6.2k
- Forks
- 412
- Ø Merge
- 3 Std. 56 Min.
- Gemergte PRs (30 T.)
- 669
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TableProApp/TablePro
-
Linux: Remember Password fails silently when there is no default keyringEvtl. vergeben @datlechin hat das heute übernommen. Offenbug platform-linux
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
TableProApp/TablePro#4098 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug platform-linux
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
TableProApp/TablePro#4101 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug platform-linux
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
TableProApp/TablePro#4099 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement platform-macos
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
TableProApp/TablePro#4071 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement platform-macos
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 66/100
TableProApp/TablePro#4070 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in TableProApp/TablePro
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
OneBusAway/vehicle-positions#260 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
eliasstravik/herdr-projects#789 · 1 Kommentar ·
-
follow-up needs-triage S3: minor
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
manaflow-ai/cmux#38032 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
arkavo-org/ArkavoKit#70 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
vorssaint/vorssaint-utils#3933 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen