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
Description
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