
Gws Events Renew
Keeps your Google Workspace event subscriptions from dying by renewing them before they expire. You can either target a specific subscription by name or bulk renew everything expiring within a time window (default 1 hour, configurable to days). The --all flag with --within makes this perfect for cron jobs since Workspace subscriptions have annoying expiration timers that kill your event streams if you forget about them. Simple but essential if you're building anything that depends on real-time Workspace events and can't afford downtime from expired subscriptions.
- skills.sh installs
- 31.5K
- GitHub stars
- 32.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill gws-events-renew --agent claude-codeInstalls into .claude/skills of the current project.
Files
events +renew
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Renew/reactivate Workspace Events subscriptions
Usage
gws events +renew
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--name | — | — | Subscription name to reactivate (e.g., subscriptions/SUB_ID) |
--all | — | — | Renew all subscriptions expiring within --within window |
--within | — | 1h | Time window for --all (e.g., 1h, 30m, 2d) |
Examples
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2d
Tips
- Subscriptions expire if not renewed periodically.
- Use --all with a cron job to keep subscriptions alive.
See Also
- gws-shared — Global flags and auth
- gws-events — All subscribe to google workspace events commands
Sponsors
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- CLI & Terminal, Office & Documents
More from googleworkspace/cli
All 113- Gws Events Subscribe31.4K
- Recipe Plan Weekly Schedule31.4K
- Recipe Bulk Download Folder31.4K
- Recipe Create Doc From Template31.4K
- Recipe Sync Contacts To Sheet31.3K
- Gws Admin Reports31.3K
- Recipe Generate Report From Sheet31.2K
- Recipe Label And Archive Emails31.1K
- Recipe Reschedule Meeting31.1K
- Recipe Save Email To Doc31.1K
- Recipe Block Focus Time31K
- Recipe Watch Drive Changes31K
- Recipe Create Shared Drive31K
- Persona Team Lead31K
- Recipe Share Doc And Notify30.9K
- Recipe Find Large Files30.9K
- Recipe Create Task List30.9K
- Recipe Schedule Recurring Event30.9K
- Recipe Review Overdue Tasks30.8K
- Recipe Copy Sheet For New Month30.8K
- Recipe Review Meet Participants30.8K
- Recipe Batch Invite To Event30.8K
- Recipe Collect Form Responses30.8K
- Recipe Create Events From Sheet30.7K