39/46
Sign inSign up free

402. Never Run Twice at Once

medium 20 XP ~7 minHands-on lab Pro

/home/student/bin/sync.sh runs from cron every minute, but on slow days a run takes longer than a minute and two copies overwrite each other's data.

This is a Pro problem

Pro unlocks every lab and quiz, all roadmaps and a full daily plan.

Unlock with Pro

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Pro lab

Upgrade to open a machine for this problem.

See Pro