fnic-lemmy / bestofbot

A bot posting weekly "best of" posts to Lemmy
https://lemmy.dbzer0.com/c/lemmydirectory
1 stars 0 forks source link

Monthly posts #13

Closed chris-y closed 3 months ago

chris-y commented 5 months ago

Should be fortnightly rather than weekly!

chris-y commented 5 months ago

Cron is a PITA to do every two weeks...

M4rtineski commented 5 months ago

Huh? What makes it harder to set up than 1 week?

chris-y commented 5 months ago

You can do a time, a day of the week, a day of the month, weekly in fine because every whatever-day is easy, two weekly you're having to skip days and because there's no "week of year" option it's not that simple.

M4rtineski commented 5 months ago

Oof. I thought you just make it do math to work every x amount of time and that's it. Well good luck I guess. haha

chris-y commented 5 months ago

Discussion here about making it monthly: https://github.com/fnic-lemmy/bestofbot/issues/7#issuecomment-2189982317_

M4rtineski commented 5 months ago

When we have it set up monthly let's add the schedule to the introduction post on the directory.

chris-y commented 5 months ago

Schedule calendar: https://use10.thegood.cloud/apps/calendar/p/dFMpSoX7FPf6EyYX

chris-y commented 4 months ago

I'm queuing up my bots in #7 - when I have a reasonable number I'll reconfigure to run monthly and schedule them across the month.

chris-y commented 4 months ago

I've changed the calendar from the 1st August to run monthly (this may mean the previously weekly bots will post similar things to the previous month on their first run on the new schedule). I need to remember to do the necessary admin late on the 31st to make the bot post TopMonth instead of TopWeek, as well as changing the triggers for the current weekly bots.

There are some gaps that can be filled later, but I've tried to keep similar things at weekly intervals.

M4rtineski commented 4 months ago

Wait, it's already set to monthly? We don't have nearly enough categories for that. Are you running a bot every 2-3 days perhaps?

chris-y commented 4 months ago

Every 1-2 days. There are nine gaps plus 29-31 which I'm not sure what to do with. The gaps are spaced out so a couple of days a week there won't be any, but we can fill those later. I'm not activating this until August.

M4rtineski commented 4 months ago

Shouldn't we just disable it until the time for monthly posts comes? The content is going to repeat anyway.