[Remind-Fans] weekly shift rotation

Rob Hamrick rob.hamrick at gmail.com
Mon Jan 19 19:25:04 EST 2009


Hi there, I'm trying to find the best way to write out my shift
rotation at work.  We have four shifts (early, swing, late, off) and
we rotate every week.

This is what I've come up with, although I'm not sure it's the best
way of doing it.  Any thoughts?

REM Mon Tue Wed Thu Fri 2009 SATISFY [ ( weekno(trigdate()) % 4 ) == 0] MSG early%
REM Mon Tue Wed Thu Fri 2009 SATISFY [ ( weekno(trigdate()) % 4 ) == 1] MSG swing%
REM Mon Tue Wed Thu Fri 2009 SATISFY [ ( weekno(trigdate()) % 4 ) == 2] MSG late%
REM Mon Tue Wed Thu Fri 2009 SATISFY [ ( weekno(trigdate()) % 4 ) == 3] MSG off%

Thanks!
Rob



More information about the Remind-fans mailing list