gws-events-renew

Renews or reactivates Google Workspace Events subscriptions via the gws CLI.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill gws-events-renew-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-events-renew
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/gws-events-renew
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill gws-events-renew-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Google Workspace Events subscriptions expire if they are not renewed periodically, which silently breaks event-driven integrations. This Skill renews individual subscriptions or bulk-renews all subscriptions nearing expiration. ## Core Features & Use Cases - Single Subscription Renewal: Reactivate a specific subscription by name, such as subscriptions/SUB_ID. - Bulk Renewal: Renew all subscriptions expiring within a configurable time window (default 1 hour) using the --all and --within flags. - Use Case: Set up a cron job that runs gws events +renew --all --within 2d so every Workspace Events subscription stays alive without manual tracking. ## Quick Start Ask the assistant to renew all Google Workspace Events subscriptions expiring within the next two days using the gws CLI.

Frequently Asked Questions about gws-events-renew

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I renew a Google Workspace Events subscription?

Run gws events +renew --name subscriptions/SUB_ID to reactivate a specific subscription by its resource name. You can find the subscription ID from your existing Workspace Events configuration.

How to renew all expiring Workspace Events subscriptions at once?

Use gws events +renew --all --within 2d to renew every subscription expiring within the given window. The --within flag accepts durations like 1h, 30m, or 2d, and defaults to 1 hour.

Can I automate Workspace Events subscription renewal with cron?

Yes, schedule gws events +renew --all with a cron job to keep subscriptions alive automatically. Pick a --within window longer than your cron interval so no subscription lapses between runs.

Why did my Google Workspace Events subscription stop working?

Workspace Events subscriptions expire if they are not renewed periodically. Renew the subscription with gws events +renew --name to reactivate it, then set up recurring bulk renewal to prevent future lapses.

What do I need before running gws events +renew?

You need the gws binary installed and authentication configured as described in the gws-shared skill. If the shared skill is missing, run gws generate-skills to create it first.