I have requirement:
1) Check the record count in table (table in oracle)
2) If records exists generate the file for existing records and wait for some time then Go to sleep mode and
Again check the record count after 10 min.......... (Loop this process if record count >0).
3) Generate touch file once table count is zero.
I need script for above scenario and i am poor in UNIX.
Please try to help me, please send full-length script if it is possible.