diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-22 23:45:19 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-22 23:45:19 +0000 |
| commit | 8abc63efdbc0bb96cd6c9aa99d6e9166e0bcabae (patch) | |
| tree | f4d6a082eed9b10bc67436a3ca5188e0182961eb /scripts/clear-cache | |
| parent | 11b905fd437d651b2e39745aa82a5dd36f70331e (diff) | |
chore: unify and centralize agent configuration in .agent/
Diffstat (limited to 'scripts/clear-cache')
| -rwxr-xr-x | scripts/clear-cache | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/clear-cache b/scripts/clear-cache new file mode 100755 index 0000000..624a068 --- /dev/null +++ b/scripts/clear-cache @@ -0,0 +1,17 @@ +#!/bin/bash +# Clear all cached data from the production database. +# Usage: ./scripts/clear-cache +# Deletes: cards, boards, tasks, calendar_events, cache_metadata, sync_tokens + +DB=/site/doot.terst.org/data/dashboard.db + +sqlite3 "$DB" " +DELETE FROM cards; +DELETE FROM boards; +DELETE FROM tasks; +DELETE FROM calendar_events; +DELETE FROM cache_metadata; +DELETE FROM sync_tokens; +" + +echo "Cache cleared." |
