procmail
[Top] [All Lists]

Re: How to set date/time in .procmailrc

2002-04-24 09:36:38
On Wed, 24 Apr 2002, Udi Mottelo wrote:

[...]
automatic reply, but now I only want this autoreply to be sent after
16.00 and before 09.00, Is there a way to do this without having to use
telnet/ftp and removing the file ????

      I suggest you to save the messages in /some/where/wait folder.
      The crontab(1) will work on the folder:

1 9-16 * * * formail -s procmail /some/where/procmailrc < /some/where/wait
    ^^^^

        OUpssssss!!!    Not  9-16   I mean:  17-8

        Also, some crons dosen't know the 17-8 and you need to write:

1 0,1,2,3,4,5,6,7,17,18,19,20,21,22,23 * * * ...

        It means: Work in the first minut evry hour from 17:01 to 07:01.
        
Sorry,
 Udi

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail