KosmoKrator

productivity

Hostinger CLI for Cron Jobs

Use the Hostinger CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Hostinger CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. The Hostinger CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Hostinger CLI for Cron Jobs
kosmokrator integrations:configure hostinger --set access_token="$HOSTINGER_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call hostinger.hostinger_list_servers '{}' --json

Discovery Before Execution

Agents and scripts can inspect Hostinger docs and schemas before choosing a function.

kosmo integrations:docs hostinger --json
kosmo integrations:docs hostinger.hostinger_list_servers --json
kosmo integrations:schema hostinger.hostinger_list_servers --json
kosmo integrations:search "Hostinger" --json
kosmo integrations:list --json

Useful Hostinger CLI Functions

FunctionTypeParametersDescription
hostinger.hostinger_list_servers Read none List all VPS servers in the Hostinger account. Returns server IDs, names, status, plan, and IP addresses.
hostinger.hostinger_get_server Read server_id Get details for a specific Hostinger VPS server by ID. Returns full server information including IP addresses, plan, and status.
hostinger.hostinger_list_domains Read none List all domains in the Hostinger account. Returns domain IDs, names, and status.
hostinger.hostinger_get_domain Read domain_id Get details for a specific domain in Hostinger by domain ID. Returns full domain information.
hostinger.hostinger_list_dns_records Read domain_id List DNS records for a specific domain in Hostinger. Returns all record types (A, AAAA, CNAME, MX, TXT, etc.).
hostinger.hostinger_list_ssl Read none List all SSL certificates in the Hostinger account. Returns certificate details including domain, status, and expiry.
hostinger.hostinger_get_current_user Read none Get information about the current authenticated Hostinger account, including email and user details.

Automation Notes

Related Hostinger CLI Pages