I need some help about an bash script.
This is the log on which i have to apply my script (3000 lines, it's a sample):
2019 nov 30 19:11:37 Job 1 started
2019 nov 30 20:54:13 Job 1 finished
2019 nov 30 20:54:15 Job 2 started
2019 nov 30 22:12:04 Job 2 finished
2019 nov 30 22:12:06 Job 3 started
2019 déc 01 00:59:30 Job 3 finished
2019 déc 01 00:59:32 Job 4 started
2019 déc 01 00:59:58 Job 4 finished
We ask me to print the time elapse between the begin of Job X and the end of job X, like this:
Job 1 time elapsed : 600 seconds
Job 2 time elapsed : 788 seconds
.......
Somebody can help me ?
Thanks a lot!