Public
Like
glimpse2-runbook-view-glimpse-save-login-react
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v27View latest version
Scheduled task handlers for automated system maintenance.
- Purpose: Cleans up stale viewing sessions
- Schedule: Every minute
- Function: Marks sessions older than 1 minute as not viewing
- Notion Sync: Immediately updates Notion database when sessions end
- Purpose: Cleans up stale agent assignments
- Schedule: Every minute (configurable in Val Town UI)
- Function: Scans agent blobs for empty agent arrays and clears Assigned property in Notion
- Blob Cleanup: Deletes empty agent blobs to keep storage clean
- Blob-First Approach: Scans blobs with pattern
glimpse--agent--*
for efficient processing
Cron schedules are managed through the Val Town web interface. Click on each cron file to modify its schedule as needed.