Can you please help me with UNIX script code that will work with ksh shell on UNIX server
My Requirement
Time1: 09/17/13101536
Time2: 09/16/13101536
I want to calculate the difference in minutes for the dates with format given above. I have a requirement to wait for 30 mins from the start of the job before taking the next action and in the mean time also check for existance of a trigger file if the file is present than I dont need to wait for 30 mins infact take the action immediately.
---------- Post updated at 03:29 PM ---------- Previous update was at 03:25 PM ----------
Hi I am using the following code it works but the problem is that it does not take into account the date it works fine if its just time difference calculation on a same date