Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: ldmprods in crontab

On Tue, 17 Dec 2002, Patrick O'Reilly wrote:

> Has/does anyone run ldmprods  script through a cron job, and if so, could
> they share their crontab entry?  Not being a unix guru, can't figure out how
> to run it that way.  Seems best fit to run from command line.  Thanks in
> advance.


Patrick,

ldmprods was never meant to be run out of cron.  Since ldmprods runs
continuously, it would never terminate inside of the cron job. Also,
ldmprods takes a couple passes to get the output 100% correct.  That said,
if you are looking for a particular event to happen, one could look at the
*.stats files in the log directory. If you are motivated, you could use
mailpqstats script as a template especially the ldmstats routine to
extract the info you are looking to investigate. The output could be made
into a batch mode so then you could put the script in the cron.

Hope this helps,
Robb...





> 
> Patrick
> _______________________________________
> Patrick O'Reilly
> Meteorological Decision Support Scientist
> The STORM Project - University of Northern Iowa
> patrick.oreilly@xxxxxxx  ~  ph: 319-273-3789
> 
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
===============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690