title: Coding Logic for a Daily Scheduler
body: <p>I want to create a daily scheduler for my employees to visually see their workday. A table would be fine, with employees being on x axis, and hours on the left. 00:00 - 24:00</p>
  
  <p>I have a table with employees (6 rows), and a list of jobs to do. The jobs have a start time, and end time (includes breaks).</p>
  
  <p>I want to create a scheduler which automatically assigns jobs to employees, minimizing the number of employees.</p>
  
  <p>sample:</p>
  
  <pre><code>id  | Start_time    | end_time
  -----------------------------------
  1   | 08:00     | 10:00
  2   | 10:00     | 12:00
  3   | 12:00     | 13:00
  4   | 12:30     | 13:30
  5   | 12:45     | 14:00
  6   | 13:00     | 14:00
  
  job 1,2,3 get assigned to employee 1.
  job 4, gets assigned to employee 2.
  job 5 gets assigned to emloyee 3.
  job 6 gets assigned to employee 1.
  </code></pre>
  
  <p>I have been going at this for 2 days now without success. I tried fullcalendar and weekcalendar, without success.</p>