We have a mission critical system in which one of our services is down. Nobody here has much UNIX experience, but we were tasked with fixing the problem. It may seem simple to you guys, but anything will help. All I can provide is a description.
Please any information on syntax will be helpful.
I need the script to execute a loop that searches for a new folder every 15 minutes (sleep 900)in the home folder, runs a tar command on it, then ftp it to $REMOTE in the home folder. The only thing that's killing me is making sure it doesn't run the command on the same folder over and over.
How do I do this? Any info will help guys, I'm on severe time constraints as this is mission critical gear.
Thank you for your time. Your help is greatly appreciated.
Please any information on syntax will be helpful.
I need the script to execute a loop that searches for a new folder every 15 minutes (sleep 900)in the home folder, runs a tar command on it, then ftp it to $REMOTE in the home folder. The only thing that's killing me is making sure it doesn't run the command on the same folder over and over.
How do I do this? Any info will help guys, I'm on severe time constraints as this is mission critical gear.
Thank you for your time. Your help is greatly appreciated.