1
0
Fork 0
Commit Graph

8 Commits

Author SHA1 Message Date
pta cb105176b2 Add cron job to make final view count update after exactly 10 days
This cron job will run twice per live WNL segment to update the view
count of the stream from exactly 10 days ago. This gives every stream
exactly the same amount of time to mature before we record its view
count for the last time. Ten days gives even notable streams plenty of
time to get most of its views before the rewatch per day rate drops to
nearly nothing.
2024-05-09 12:46:16 -04:00
pta bca7133795 Ensure every WNL row in schedule table gets assigned its video
Now every caster schedule entry will get assigned data from its
corresponding video, no matter what unusual scheduled time it has.

Videos are known well advance, so updating every 3 hours, or once per
stream, should be enough to record new streams, even if the youtube json
request fails once or twice.

Upcoming streams are now assigned a null rather than 0 view count so
zeros aren't accidentally included in view count calculations.

Upcoming streams now have their jst derived from their start time rather
than titles, in case staff initially makes a copy-paste error to the
title.
2024-05-09 12:44:36 -04:00
gg1234 fc2404f856 Send file logs to log/ directory 2023-09-23 22:36:29 -07:00
gg1234 e2065916bf Add 'if necessary' 2023-09-20 21:18:55 -07:00
gg 1b90deb966 Align 2023-09-20 16:24:17 -07:00
gg 551f67dfb6 Add database backup example in crontab 2023-09-20 16:23:36 -07:00
gg 3e18a0831d Add UTC show times for reference in comments
Also adjust run times for mscale and video_id capture.
2023-09-12 06:15:55 -07:00
gg efe09f9a52 Provide a sample crontab 2023-09-04 23:27:12 -07:00