5 ms·
Terrible hack, or building a solution from parts, i can't really tell the diff.
by digi_owl 10y ago
Terrible hack, or building a solution from parts, i can't really tell the diff.
- mikeash 10y agoI think what turns it into "terrible hack" for me is the fact that it won't properly handle the situation where the machine reboots after firing the cron job and before the sleep completes. Having an extra process sitting around for potentially hours doing nothing but waiting also seems ugly. Neither is particularly important though....