How to change this?
I have written a script in perl which retrieve log data from database If we give the time from which it is received
perl getlog.pl -F '2008:11:01 00:00:01' give the logs that are received after 2008:11:01 00:00:01
Now what I want to do is, The value of F (From time in the above command) should be taken by default such that its value should be 5 hours before the current time.
How can I do this.
Please help me in doing this.