Hi,
I have a ksh scrip (x) that scans a directory and does actions when a file arrives in this directory.
My question is what is the best way to schedule x?
- Use cron tab and create a task running forever
- Creat another ksh script (y) that runs (x) in a non-terminating loop
Which option is better? Any other ideas?
Thanks much.