Re: [foxboro] Date comparison in Unix scripts
- From: Winston Jenks <winston@xxxxxxxxxxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Fri, 19 Apr 2002 12:21:46 -0500
At 12:42 PM 4/19/02 -0400, you wrote:
>Specifically, I am trying to manage some system PM items. I would like to
>be able to check a list (flat file) of tasks and determine if the task is
>overdue. I would also like to determine when the task is more than X days
>overdue to flag it as a high priority. The second part requires the ability
>to compare the stored date with the current date to see how many days in the
>past it is.
Check out the date utilities at ftp://metronet.com/milam/ This is a shell
utility that can compare dates (in various formats) to the current
time. You might have to compile it.
or learn Perl.
Winston Jenks
Technical Director, Cape Software, Inc.
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- References:
- Re: [foxboro] Date comparison in Unix scripts
- From: Deo, Terry
Other related posts:
- » Re: [foxboro] Date comparison in Unix scripts
- » Re: [foxboro] Date comparison in Unix scripts
- » Re: [foxboro] Date comparison in Unix scripts
- » Re: [foxboro] Date comparison in Unix scripts
- » Re: [foxboro] Date comparison in Unix scripts
- Re: [foxboro] Date comparison in Unix scripts
- From: Deo, Terry