I have tried using crontab, but it is limited to minutes. Is there any other option?
I have also tried something like:
watch -n 1 sh /path-to-script/try.sh
But whenever I close the terminal it stops. I want something which continuously works in the background.