[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #YGA-963195]: Future LDM feature request



Gilbert,

> I know what happened.
> 
> I run these two simultaneously at midnight LST:
> 
> # Rotate LDM log files
> #
> 1 1 * * * /home/ldm/bin/ldmadmin newlog
> #
> 1,16,31,46 * * * * /bin/bash -l -c 'bin/ldmadmin check >check.log 2>&1' || 
> mailx -s '"ldmadmin check" problem LDM may not be running' address@hidden 
> <check.log
> 
> So as I do "ldmadmin newlog", it conflicts with the duties of the second
> cron job. I just changed it to:
> 
> 2,16,31,46 * * * * /bin/bash -l -c 'bin/ldmadmin check >check.log 2>&1' || 
> mailx -s '"ldmadmin check" problem LDM may not be running' address@hidden 
> <check.log

Hmm... Perhaps the "ldmadmin newlog" command shouldn't prevent commands like 
"ldmadmin check" from executing. I can easily make that so.

What do you think?

> *******************************************************************************
> Gilbert Sebenste                                                     ********
> (My opinions only!)                                                  ******
> Staff Meteorologist, Northern Illinois University                      ****
> E-mail: address@hidden                                  ***
> web: http://weather.admin.niu.edu                                      **
> *******************************************************************************

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: YGA-963195
Department: Support LDM
Priority: Normal
Status: Closed