procmail
[Top] [All Lists]

Re: Who is the procmail maintainer? (revisited 2005)

2005-11-11 18:37:46
Professional Software Engineering:
Ruud H.G. van Tol:

If you only need the date, you can let a cron-job create a DATE.INC
once per day, with code in it that sets some variables:

Hah, this assumes that the user has the ability to run crontab to
create the job in the first place.

No, you can also ask somebody else to daily create such a DATE.INC in a
place that any user can read from.



I'd be happy to call a library date without the overhead of opening
and parsing a file, even if that seems minour.  It's an OPEN file, so
there's kernel limitations to consider on large scale systems.


It is a read-only file that is small enough to live in a cache. It can
of course also include the seconds since the epoch.

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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