Your script works on your laptop. This one-pager is what to check before you schedule it, so it still works on day 8.
A one-page checklist for the three things that kill scheduled Python → Google Sheets scripts: the 7-day invalid_grant token, 429 Quota exceeded, and duplicate rows. Tick the boxes before you schedule the job.
14 tick boxes, one page, printable. At the bottom: the Fix Pack, which has the code for all three (EUR 9).
https://whop.com/whop-0bab/python-google-sheets-fix-pack/