procmail
[Top] [All Lists]

Auto Stop based on time of day

1995-10-17 08:17:53
I have a receipe which executes an external program. The problem is that 
it executes whenever I get mail which includes the middle of the night. 
Is it possible to stop execution of the receipe based on the time of day?

This is the receipe I'm using:

:0 c
*^From.*(fpatna1|vealey)
| $HOME/bin/mailpage

I guess I'm looking for some sort of condition to check the current time 
and if its outside of the hours 11pm and 7am then execute the action. Can 
anyone give me some pointers?

Abe

______________________________________________________________
Abe Philip  aphili1(_at_)umbc(_dot_)edu  http://umbc.edu/~abe
I hope life isn't a big joke, because..... I don't get it.


<Prev in Thread] Current Thread [Next in Thread>