Update calendar cleanup task documentation
Clarify that Task 2 must run on supabase-db service which has curl/wget. The supabase-edge-functions service doesn't have curl, wget, or deno CLI available. Command for Task 2 (run on supabase-db): curl -X POST http://supabase-edge-functions:8000/functions/v1/trigger-calendar-cleanup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -89,10 +89,11 @@ $$;
|
|||||||
-- Task 2: Calendar Cleanup (every 15 minutes)
|
-- Task 2: Calendar Cleanup (every 15 minutes)
|
||||||
-- -------------------------------------------
|
-- -------------------------------------------
|
||||||
-- Name: cancel-expired-consulting-orders-calendar
|
-- Name: cancel-expired-consulting-orders-calendar
|
||||||
-- Command: curl -X POST http://supabase-edge-functions:8000/functions/v1/cancel-expired-consulting-orders
|
-- Command: curl -X POST http://supabase-edge-functions:8000/functions/v1/trigger-calendar-cleanup
|
||||||
|
-- Alternative: wget -qO- --post-data='' http://supabase-edge-functions:8000/functions/v1/trigger-calendar-cleanup
|
||||||
-- Frequency: */15 * * * *
|
-- Frequency: */15 * * * *
|
||||||
-- Timeout: 30 seconds
|
-- Timeout: 30 seconds
|
||||||
-- Container: supabase-edge-functions
|
-- Container: supabase-db (IMPORTANT: Must run on supabase-db service which has curl/wget)
|
||||||
|
|
||||||
-- ============================================
|
-- ============================================
|
||||||
-- Manual Testing
|
-- Manual Testing
|
||||||
|
|||||||
Reference in New Issue
Block a user