Scheduling with time-dependent discrepancy times