private async Task SendOldNotSentSchedules()
        {
            var now = DateTime.Now;

            now = new DateTime(now.Year, now.Month, now.Day, now.Hour, now.Minute, 0, DateTimeKind.Local);
            foreach (var schedule in senderService.OldNotSentSchedules(now))
            {
                try
                {
                    if (!schedule.ArrivalSent && schedule.Arrival <= now)
                    {
                        await senderService.SendArrival(schedule);
                    }
                    if (!schedule.DepartureSent && schedule.Departure <= now)
                    {
                        await senderService.SendDeparture(schedule);
                    }
                }
                catch (Exception e)
                {
                    logger.LogError(e);
                }
            }
        }