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
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.whatexit.org/mailman/listinfo/remind-fans

Reply via email to