Overview
Tool Name
Purpose
The genesis_job_tools provide management for background jobs and periodic maintenance across the platform. Use them to list available jobs, start or stop specific processes, and follow live logs for troubleshooting and operational visibility.Key Features & Functions
List Jobs
Discover available background jobs with names, status, and last run info.
Start Jobs
Kick off harvests, maintenance, or monitoring tasks on demand.
Stop Jobs
Safely stop jobs during maintenance or incident response.
Follow Logs
Stream real-time output to diagnose issues as they occur.
Update Data Agent Activity
Refresh the data agent activity table so dashboards reflect current availability.
Scheduling Control
Manage execution parameters and cadence for optimal performance.
Input Parameters for Each Function
genesis_job
Parameters
Name | Definition | Format |
---|---|---|
action | Operation to perform on the job subsystem. One of list start stop follow . | String |
job_name | Target job name for start stop or follow . Omit when using list . | String |
Run
action: list
first to confirm the exact job_name
and current status before starting or stopping anything.update_bots_active_table_tool
This function does not require parameters. It updates the data agents’ active table with current availability and timestamps.
Use Cases
- Maintenance windows
- Pause non critical jobs, perform upgrades, then resume services.
- Harvest oversight
- Start a metadata harvest and follow logs to verify schema coverage.
- Health monitoring
- Track long running monitors and confirm they are healthy after a deploy.
- Incident response
- Stop a noisy or failing job, inspect logs, then restart with adjusted settings.
- Operational hygiene
- Refresh the data agent activity table so status dashboards stay accurate.
Stopping core jobs can impact search, harvesting, or monitoring. Confirm dependencies and maintenance windows before issuing
stop
.Workflow/How It Works
- Inventory
Use
action: list
to see jobs, status, and last run time. - Control
Start or stop a specific job with
action: start
oraction: stop
and the exactjob_name
. - Observe
Use
action: follow
to stream logs for a running job and watch progress in real time. - Refresh
Call
update_bots_active_table_tool
to sync data agent availability after changes.
Following a very long-running job can produce large output. Limit follow sessions to investigation windows to conserve resources.
Integration Relevance
- harvester_tools to manage catalog crawls that power metadata search.
- system_stats_tools to correlate job activity with performance metrics.
- make_baby_bot to reflect accurate data agent availability after lifecycle changes.
- data_connector_tools to validate connectivity when jobs interact with databases.
- system_manager_tools for broader admin workflows and audit trails.
Configuration Details
- Job names must match the system registry exactly. Use
list
to copy the canonical name. - Job control requires appropriate permissions. Coordinate with admins for production changes.
- Following logs streams live output and can increase load if many sessions are open.
- Some jobs have external dependencies like network or warehouse credits; verify before
start
. - Data Agent activity updates should be scheduled regularly in environments where data agents scale up and down.
Limitations or Notes
- Job control often requires administrator privileges.
- Not all jobs are stoppable if they provide critical platform functions.
- Log streams can be verbose on large jobs and may time out for very long sessions.
- High system load can delay job starts or extend runtimes.
- Background jobs can have complex dependency chains; stopping one may affect others.
Output
- Job Listing Array of jobs with name, status, description, and last execution details.
- Job Control
Clear confirmation after
start
orstop
, including new status and timestamps. - Log Follow Real time output for active jobs to aid troubleshooting and verification.
- Data Agent Activity Update Confirmation that the data agent’s active table was refreshed, with a completion timestamp.