Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date & time unix

Status
Not open for further replies.

stu78

Programmer
May 29, 2002
121
GB
Hi,

Does anyone know of a method to;

Get the current time ( i can get this .... ), following this subtract 5 minutes from it, using this open a log file & output everything from ( current time - 5 minutes ) out into this new file? Any help appreciated....

Thanks,
DC
 
DC:

Check out:

thread822-347258

over in the Unix scripting forum.

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top