Add tasks for segment sync and posthog sync

This commit is contained in:
Vasilije 2024-09-30 15:12:48 +02:00
parent 354c8b1f61
commit 9dd955524b
3 changed files with 14 additions and 10 deletions

View file

@ -1,8 +1,8 @@
name: analytics | Update Cognee Stats Daily
on:
schedule:
- cron: '0 1 * * *' # Runs every day at 01:00 UTC
on: pull_request
#on:
# schedule:
# - cron: '0 1 * * *' # Runs every day at 01:00 UTC
jobs:
update_stats:

View file

@ -1,9 +1,11 @@
name: analytics | Send Twitter Followers to Segment
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC. Adjust as needed.
workflow_dispatch: # Allows manual triggering of the workflow
on: pull_request
#on:
# schedule:
# - cron: '0 0 * * *' # Runs daily at midnight UTC. Adjust as needed.
# workflow_dispatch: # Allows manual triggering of the workflow
jobs:
send-followers:

View file

@ -1,7 +1,9 @@
name: analytics | Historical Import of Cognee Stats
on:
workflow_dispatch:
on: pull_request
#on:
# workflow_dispatch:
jobs:
import_stats: