get_cron_jobs
Retrieve system, run-parts, and user cron jobs over read-only SSH; secrets are redacted. Audit scheduled tasks on remote hosts, with root viewing all users or login-user access otherwise.
Instructions
Every cron job (system crontabs, run-parts scripts, user crontabs): as root for every user, else only what the login user can read. Timers: get_systemd_list_timers. Values that look like secrets are redacted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"user": "<user>"
},
"name": "get_cron_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| timeout | No | ||
| key_path | No | ||
| password_env | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||