Task Scheduling for a single node level

Do you have a code or resource for creating a single node level task scheduling in cluster?