This paper discusses scheduling problems that combine tails and deadlines or, equivalently, due dates and deadlines. This approach is illustrated to be of practical interest to strengthen some lower bounds in shop scheduling problems. We show that both deadlines and tails can efficiently be modelled via a nondecreasing cost function of the completion time so that we can use the O(n(2)) algorithm due to Baker, Lawler, Lenstra and Rinnooy Kan for the 1 \pmtn,prec,r(j), \f(max) problem to solve 1 \pmtn,prec,r(j),d(j),q(j)\ C-max. For this problem, we present an algorithm with improved complexity of O(e + n log n) where e is the number of precedence constraints and we present some extensions of this algorithm to solve two parallel machine problems with unit execution time operations. Copyright (C) 2001 John Wiley & Sons, Ltd.