Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate running off calendar #52

Open
chris-y opened this issue Jul 25, 2024 · 3 comments
Open

Investigate running off calendar #52

chris-y opened this issue Jul 25, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@chris-y
Copy link
Contributor

chris-y commented Jul 25, 2024

Use caldav to run the bot off a calendar rather than having everything scheduled manually.

Advantages:

  • Easier to move things around
  • Easier to see when things are scheduled
  • No huge list of individual bots!
  • Quicker deployment as only one bot

Disadvantages:

  • Might need to change bot to run at same time every day, or run it hourly and check for events.

Implementation issues:

  • Will need to pass all possible bot passwords on deployment
  • Will likely need to add usernames etc into calendar entry notes or generate from event title
@chris-y chris-y added the enhancement New feature or request label Jul 25, 2024
@chris-y chris-y self-assigned this Jul 25, 2024
@chris-y
Copy link
Contributor Author

chris-y commented Jul 25, 2024

@M4rtineski
Copy link
Contributor

Wow, didn't think it would be this problematic.

@chris-y
Copy link
Contributor Author

chris-y commented Jul 25, 2024

Yeah, so basically it would need to run once an hour, and get the calendar to check whether there is an event scheduled. If there is, it would need to get the relevant details (account, list of communities, etc) and then run as usual with the correct details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants