• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
balloon

balloon

statusAutoMente

Periodically delete extraneous SQLite data generated by status
Public
Like
statusAutoMente
Home
Code
2
README.md
C
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
7/12/2025
Viewing readonly version of main branch: v16
View latest version
README.md

Status Mente

For the free plan, SQLite has a capacity of 10MB.
Therefore, you need to work on the deletion of unwanted data on a regular basis.
This Val deletes SQLite data that is never used by the Status Val.


Setting

Change the '-51 hours' in main.tsx according to the cron interval.

cron intervalValues to set
15 minutes-51 hours
30 minutes-101 hours
1 hour-201 hours
3 hours-603 hours
6 hours-1206 hours
12 hours-2412 hours
24 hours-4824 hours

status (HTTP trigger) defaults to limit 200, so it doesn't make sense to have more rows than this.
Therefore, you can remove the extra number of rows.


Check

Enter the following SQL command from SQLite Management and check that there is no output (Default: Every 15 minutes):

select * from uptime where timestamp < datetime('now', '-51 hours');
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.