Skip to content

Commit

Permalink
Update cron schedule
Browse files Browse the repository at this point in the history
Since I seemed to messed up the fact that 4PM UTC of first day of month, would have been 12AM of SGT, next day, rather than on same day.

Placing at :20, so that it runs few minutes after committed, as a test if it works.

Anyways NEA doesn't update on midnight as seen yesterday so its probably better this way.
  • Loading branch information
vincentneo committed Oct 1, 2022
1 parent 24e9fcf commit 727af3c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: Tide Timings Scrape & Deploy

on:
schedule:
# Runs at 4PM UTC/12AM SGT every 1st day of every month.
- cron: '0 16 1 * *'
# Runs at 4PM UTC/12AM SGT every 2nd day of every month, in case NEA didn't update yet.
- cron: '0 16 2 * *'
# Runs at 8:20AM UTC, on 1st day of each month.
# = at 4:20PM SGT, on 1st day of each month.
- cron: '20 8 1 * *'

jobs:
build:
Expand Down

0 comments on commit 727af3c

Please sign in to comment.