Skip to content

Commit

Permalink
fix: change AppRaven schedule to once a day
Browse files Browse the repository at this point in the history
Signed-off-by: Eiko Wagenknecht <[email protected]>
  • Loading branch information
eikowagenknecht committed Feb 11, 2025
1 parent 5636da6 commit caba2a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/services/scraper/implementations/appRaven.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,9 @@ const QUERY = gql`

export class AppRavenGamesScraper extends BaseScraper {
override getSchedule(): CronConfig[] {
// Run once a day only to avoid causing too much load on the server
return [
// TODO: Add a schedule
{ schedule: "0 5 11 * * *", timezone: "US/Eastern" }, // 17:05 UTC Daily (check soon after release)
{ schedule: "0 5 13 * * *", timezone: "US/Eastern" }, // 19:05 UTC Daily (backup check)
{ schedule: "0 0 12 * * *" }, // 12:00 UTC Daily
];
}

Expand Down

0 comments on commit caba2a0

Please sign in to comment.