home *** CD-ROM | disk | FTP | other *** search
- (* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * *
- * Public domain! V1.0 by David Czaya *
- * (PLink -Dave-) *
- * (CIS 73445,407) *
- * 27-June-1990 (GEnie DCzaya) *
- * *
- * Usage: IsToday [day] where [day] is Sun, Monday, Tues... *
- * *
- * IsToday compares [day] with the system clock's "Day of Week" *
- * and sets the CLI return code as follows: *
- * *
- * no match - 0 (Ok) *
- * match - 5 (WARN) *
- * error - 20 (FAIL) *
- * *
- * "IsToday" is meant to be used within a script. I wrote IsToday *
- * because my job requires that every Monday morning I'm supposed *
- * to mail out a certain check and for some reason, I'd constantly *
- * forget to do it. :-) *
- * *
- * Now, my Startup-Sequence says: *
- * *
- * IsToday Monday *
- * IF WARN *
- * echo "It's Monday. Go mail the check." *
- * ENDIF *
- * *
- * Now, when I boot up Monday morning, I get the reminder. Simple. *
- * Easy. Problem solved! I'm sure you can find a use for it. I *
- * realize there are other CHRON-like programs that do this and *
- * much, much more, but I prefer the simplicity of this. *
- * *
- * Source is included so you can modify or expand this program in *
- * any way you wish!! *
- * *
- * Thanks for trying IsToday... *
- * *
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *)
-
-