Aller au contenu principal
TEMPO

Manufacturing

Factory time and attendance: 2x8, 3x8 shifts and night work in Morocco

TEMPO is an HRIS for companies in Morocco whose time and attendance module serves factories and industrial sites. It links the shop floor’s biometric time clocks to 2x8 or 3x8 shift teams, assigns each night shift to the day it starts, rotates teams through cycles and splits overtime between day and night under the Moroccan Labour Code.

Demander une démo

Mis à jour le 28/10/2026

Why is factory attendance a problem for standard software?

Because the night shift cuts the day in two. An operator who clocks in at 10 pm on Monday and out at 6 am on Tuesday has worked one shift, but software that sorts punches by date sees two anomalies and zero hours.

Add to that rotations, end-of-shift overtime and hundreds of passes at the time clock at every shift change.

How does TEMPO handle the night shift?

Each shift belongs to the day it starts: the 9:55 pm clock-in and the 6:10 am clock-out form a single working day, Monday. Shift-change punches fall into the right shift and duplicates are discarded.

Each day keeps its calculation trace, so a team leader can see where a figure comes from.

How are the hours of a night shift split?

  • 10 pm – 6 am, a working day

    Punches
    9:55 pm and 6:10 am
    Result
    8 h 15 worked: 8 h regular, 5 min at 50% (before 6 am), 10 min at 25% (after 6 am)
  • 2 pm – 10 pm, a working day

    Punches
    1:58 pm and 11:00 pm
    Result
    9 h 02 worked: 8 h regular, 1 h 02 of overtime, all after 9 pm, so night overtime at 50%
  • Rest day

    Punches
    10 pm and 2 am
    Result
    4 h of night overtime, at 100%

Example with the default settings (threshold = planned duration, night from 9 pm to 6 am).

How do you schedule 2x8 or 3x8 teams?

With work cycles, a sequence of days that repeats. A classic 3x8: Morning, Afternoon and Night shifts, a 21-day cycle, and each team starting the cycle on a different day.

The cycle fills the schedules, which the manager adjusts in the grid. Overtime is counted per day or per week (beyond 44 hours, article 184 of the Labour Code).

Which settings are used most in factories?

  • Night premiums

    Night overtime between 9 pm and 6 am, at the article 201 rates by default.

  • Overtime rules

    Bands per day and per time range, to apply a more favorable agreement.

  • Tolerance

    A single tolerance for late arrivals, early departures and overtime.

  • Payment or time off

    Overtime is paid at the premium rates or converted into time off in lieu.

  • Medical checkups

    The Occupational health module tracks employees’ checkups and fitness for work.

Which time clock should you install at a factory entrance?

At shift change, identification speed matters more than anything. Facial recognition avoids contact and works with gloves on; fingerprint and badge remain options (comparison). Several time clocks can serve the same site.

Biometrics at work fall under law 09-08: see biometric attendance and CNDP.

Time clocks for high-traffic entrances

  • Pointeuse ZKTeco MB560-VL, photo du fabricant

    ZKTeco

    MB560-VL

    Visible-light face, fingerprint and keypad time clock, successor to the MB160 and MB360 for office and retail sites.

    • Visage
    • Empreinte
    • Badge
    • Code
  • Pointeuse ZKTeco SpeedFace-V5L, photo du fabricant

    ZKTeco

    SpeedFace-V5L

    Touchless face terminal, 5-inch screen, fingerprint depending on version and optional palm, for a site of several hundred people.

    • Visage
    • Paume
    • Empreinte
    • Badge
    • Code
  • Pointeuse ZKTeco ProFace X, photo du fabricant

    ZKTeco

    ProFace X

    High-end face terminal, 8-inch screen, IP68, -30 to 60 °C, for an outdoor entrance or a site of several thousand people.

    • Visage
    • Paume
    • Badge
    • Code
  • Pointeuse ZKTeco Horus E1, photo du fabricant

    ZKTeco

    Horus E1

    Android face terminal in a phone format, with Wi-Fi, 4G and Bluetooth, for a site with no wired network or a worksite base.

    • Visage
    • Empreinte
    • Badge
  • Pointeuse ZKTeco SenseFace 2A, photo du fabricant

    ZKTeco

    SenseFace 2A

    Compact face, fingerprint, card and keypad time clock, for an SME or a branch replacing a fingerprint time clock.

    • Visage
    • Empreinte
    • Badge
    • Code
  • Pointeuse Hikvision DS-K1T642MFW, photo du fabricant

    Hikvision

    DS-K1T642MFW

    Square facial recognition terminal (up to 3 m) with fingerprint, Mifare card and Wi-Fi: for receptions, offices and shops.

    • Visage
    • Empreinte
    • Badge
    • QR code
  • Pointeuse Hikvision DS-K1T342MFWX, photo du fabricant

    Hikvision

    DS-K1T342MFWX

    Vertical wall terminal: face (masks included), fingerprint and Mifare card, over Ethernet or Wi-Fi, from -30 °C to 60 °C.

    • Visage
    • Empreinte
    • Badge
  • Pointeuse Hikvision DS-K1T343MFWX, photo du fabricant

    Hikvision

    DS-K1T343MFWX

    Compact square terminal: face, fingerprint and Mifare card, Ethernet or Wi-Fi. The Hikvision model we have actually connected.

    • Visage
    • Empreinte
    • Badge
  • Pointeuse Hikvision DS-K1T344MX-E1, photo du fabricant

    Hikvision

    DS-K1T344MX-E1

    IP65 PoE-powered face terminal with Mifare card, PIN code and QR code: for exposed entrances, from -30 °C to 60 °C.

    • Visage
    • Badge
    • Code
    • QR code
  • Pointeuse Hikvision DS-K1T320MFWX, photo du fabricant

    Hikvision

    DS-K1T320MFWX

    Small entry-level face terminal, 2.4-inch screen, with fingerprint, Mifare card, PIN code and Wi-Fi: for small teams.

    • Visage
    • Empreinte
    • Badge
    • Code
  • Pointeuse Hikvision DS-K1T671, photo du fabricant

    Hikvision

    DS-K1T671

    Large face terminal with a 7-inch screen, IP65, fingerprint and card: for busy entrances and very cold or hot sites.

    • Visage
    • Empreinte
    • Badge
  • Pointeuse ZKTeco MB360, photo du fabricant
    Plus fabriquée

    ZKTeco

    MB360

    Face and fingerprint time clock with keypad and optional card, for an office or a store with up to 1,500 enrolled faces.

    • Visage
    • Empreinte
    • Badge
    • Code
  • Pointeuse ZKTeco MB20, photo du fabricant
    Plus fabriquée

    ZKTeco

    MB20

    Small face and fingerprint time clock for a small team: a branch, a practice or a boutique, up to 200 faces.

    • Visage
    • Empreinte
    • Badge
    • Code
  • Plus fabriquée

    ZKTeco

    uFace 402

    Face and fingerprint time clock with a 4.3-inch touchscreen, for a head office, a factory or a store of several hundred people.

    • Visage
    • Empreinte
    • Badge
    • Code
  • Plus fabriquée

    ZKTeco

    MB160

    Face and fingerprint time clock with keypad, with the same capacities as the MB360, for an office or a shop.

    • Visage
    • Empreinte
    • Badge
    • Code

Questions fréquentes

How do you track a night team that finishes the next day?

In TEMPO, a shift belongs to the day it starts. Punches are searched for in a window around the planned shift, by default from 2 hours before the start to 4 hours after the end. A 10 pm clock-in and a 6 am clock-out the next day therefore form a single working day, with no anomaly.

Can time and attendance software handle 3x8 shifts?

Yes. TEMPO describes a 3x8 rotation as a work cycle of 1 to 56 days, each day being a shift or a rest day. Each team starts the cycle on a different day. The cycle fills the schedules, which the manager then adjusts in the grid, and each night shift is linked to its start day.

How is night overtime paid in Morocco?

Under article 201 of the Labour Code, which TEMPO applies by default, overtime carries a 50% premium between 9 pm and 6 am on a working day, and 100% on a weekly rest day or public holiday. In the daytime, the rates are 25% and 50%. A more favorable agreement is added through your own bands.

Can several time clocks serve the same factory?

Yes. A site can have several ZKTeco or Hikvision time clocks. You send the employees of your choice to each one, by site, by department or individually, and punches from all time clocks feed the same calculation. Duplicates less than 60 seconds apart are discarded by default.

Sources

Textes officiels d'où viennent les chiffres de cette page. Les valeurs proposées par le logiciel restent modifiables.

Voyons ensemble vos équipes, vos sites et vos pointeuses

Présentez-nous vos équipes, vos horaires, vos processus RH et vos terminaux : nous vous montrons TEMPO sur vos propres cas.