Build a small CLI (trigger_scheduler) that calls the Scheduling Service to create or update a job schedule based on the client-selected frequency. It must accept --job and either --frequency <hourly|daily|weekly|every N minutes|hours|days> or --cron "<5-field expr>", plus optional --payload <file|json>. Configure via env (SCHEDULER_BASE_URL, SCHEDULER_TOKEN, DEFAULT_TZ), behave idempotently (update if the job already has a schedule), return proper exit codes with readable errors, and include a brief README with usage examples.
Build a small CLI (trigger_scheduler) that calls the Scheduling Service to create or update a job schedule based on the client-selected frequency. It must accept --job and either --frequency <hourly|daily|weekly|every N minutes|hours|days> or --cron "<5-field expr>", plus optional --payload <file|json>. Configure via env (SCHEDULER_BASE_URL, SCHEDULER_TOKEN, DEFAULT_TZ), behave idempotently (update if the job already has a schedule), return proper exit codes with readable errors, and include a brief README with usage examples.