Skip to content

Clear appointment cache daily #9

@dolsysmith

Description

@dolsysmith

In order to support recurring appointments, we need to clear the appts table on a regular basis. (Recurring appointments from LibCal use the same ID, so the app currently discards any instances of a recurring appointment after the first.)

Proposed implementation:

  • add a method to sqlite_cache.py to clear the appts table.
  • in app.py add a new function to call the delete method and schedule itself for 24 hours from the current time
  • on startup, the script will need to calculate the time to midnight and schedule the above for that initial delay

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions