Skip to content

Commit a15c970

Browse files
committed
update cronjob time
1 parent 2cda5d4 commit a15c970

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/agentic_news.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Daily Newsletter
22

33
on:
44
schedule:
5-
# Runs at 5 PM Vancouver time (UTC-7/8)
6-
# During PDT (Mar-Nov): Vancouver is UTC-7, so run at 00:00 UTC (next day)
7-
# During PST (Nov-Mar): Vancouver is UTC-8, so run at 01:00 UTC (next day)
8-
- cron: "0 0 * * *" # Adjust based on daylight savings time
5+
# Runs at 8:00 AM San Francisco time
6+
# During PDT (Mar-Nov): SF is UTC-7, so run at 15:00 UTC
7+
# During PST (Nov-Mar): SF is UTC-8, so run at 16:00 UTC
8+
- cron: "0 16 * * *" # 8:00 AM PT winter time
99
workflow_dispatch: # Allows manual trigger
1010

1111
jobs:
@@ -46,4 +46,4 @@ jobs:
4646
MENDELEY_CLIENT_SECRET: ${{ secrets.MENDELEY_CLIENT_SECRET }}
4747
MENDELEY_CODE: ${{ secrets.MENDELEY_CODE }}
4848
REPLICATE_API_TOKEN: ${{ secrets.REPLICATE_API_TOKEN }}
49-
run: python app.py
49+
run: python app.py

make_email.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,5 +461,5 @@ def main():
461461

462462
if __name__ == "__main__":
463463
# main()
464-
image=make_image("a woman with a cat")
464+
image=make_image("Recent advancements in AI include the introduction of ModernBERT for efficient long-context processing, concerns over alignment faking in large language models, and a new dataset for humanoid robot pose control leveraging massive human videos.")
465465
print("image", image)

0 commit comments

Comments
 (0)