Might be implemented as:
while (get_location() == work) { sleep(1min); }
go_back_in_time(10min);
trigger_reminder();
time.h certainly got a lot more features since the last time I used it...
Might be implemented as:
while (get_location() == work) { sleep(1min); }
go_back_in_time(10min);
trigger_reminder();