Suppose that a number of jobs are to be carried out by a single processing unit orserver. The server can process any number of jobs at the same time but the time taken to finish all the jobs is the same no matter what scheduling policy is used, provided the server is never left idle. It is, however, possible to minimise the total delays to individual jobs by adopting a suitable policy. Optimal policies are derived here for the situation when the processing times are random variables. If the completion rates (analogous to hazard rates) for every job are increasing it is optimal to process the jobs in sequence. If they are decreasing the optimal policy involves simultaneous processing. These results are applied to a more general resource allocation problem arising in industrial chemical research.