[ic] Periodic Mailings

Dan Browning interchange-users@icdevgroup.org
Wed Jul 31 18:12:01 2002


At 12:52 AM 8/1/2002 +0300, you wrote:
> > Hi,
> >
> > Well, that's what I had thought... but I wondered.
> >
> > Would you suggest, like, using lynx to point at it? Or maybe a simple
> > little perl LWP client that could make the request?  Then I'd call that
> > from cron...
>
>I have email-check that goes off each 10 min. I use wget + cron for that. It
>works really great :)
>
>Rene

If the development branch is an option, there is some really cool new 
'cron' functionality built right into interchange.  Here are the cvs commit 
notes I have for it:

User:      heins
Date:      2002-07-19 05:13:16 GMT
Modified:  scripts  interchange.PL
Modified:  lib/Vend Server.pm Control.pm
Log:
* Add nascent "cron" capability. While we don't keep the time, and
   a scheduler will have to set the execution time, it allows ITL
   to be run without the hassles of having to deal with HTTP.


* Somewhat documented in pod for bin/interchange


* TODO: Add email of results.


* TODO: Add "Cron" directive to specify directory. Current practice
   of picking a directory in PageDir or *TemplateDir is weak. Cron
   directive could also specify email address and log file for results,
   and possibly other things like write_control for databases, precursor
   ITL, etc.


* TODO: Interchange-core discussion of this facility and its
   features before it goes anywhere.


User:      heins
Date:      2002-07-21 01:15:02 GMT
Modified:  scripts  interchange.PL
Modified:  lib/Vend Config.pm Error.pm
Log:
* Change cron facility to:


         -- Use $Vend::Cfg->{Cron} for setup
         -- Now emails either to command line address or 
$Vend::Cfg->{Cron}{email}.
         -- Now logs to $Vend::Cfg->{Cron}{log}.
         -- Can add session dump when $Vend::Cfg->{Cron}{add_session}.
         -- Base directory set by  $Vend::Cfg->{Cron}{base_directory}, defaults
            to etc/cron.


* TODO: Think about adding "disable" param to block execution.



+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warp 7 -- It's a law we can live with.