Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

flag_overdue task only works if it runs every day #1274

Closed
@orenyk

Description

@orenyk

Currently, the Rake task flag_overdue only looks for Reservations whose due dates were yesterday and so if it doesn't run one day those reservations will never be flagged as overdue. Instead, we should search for reservations whose due dates were yesterday or earlier and still have the status of checked_out so that one missed cron job (or a period without cron jobs) doesn't prevent proper reservation flagging.

Note that this should probably be done for flag_missed as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions