Billboard Clean Up task

The Billboard Clean Up task removes posted shifts from the billboard when the shift's start time is too close to the current time. This prevents shift claims from causing last minute disruptions to the schedule. When a shift is removed by this task, it is no longer available for employees to claim. If the shift was posted by an employee, they are sent a notification informing them that the shift post has expired and reminding them that they are still responsible for working the shift.

This task includes parameters that set the number of minutes before the start time of a shift that the shift is removed from the billboard. The Shift Billboard Expiry Minutes parameter determines when to remove employee posted shifts from the billboard. The Shift Billboard Expiry Minutes for Unassigned Shifts parameter determines when to remove manager posted shifts from the billboard.

This task also cleans up records for pending requests to claim shifts that have expired. When a posted shift expires, employees with pending requests to claim the shift are notified that their shift claim request has been rejected.