Home » Infrastructure » Unix » file checking script
file checking script [message #179501] Tue, 27 June 2006 14:19 Go to next message
Willcap1
Messages: 1
Registered: June 2006
Location: New York
Junior Member
i was wondering if anyone knew where i can get a unix script that checks every 5 minutes to see if a file is available. it can be generic and i would tweak it
Re: file checking script [message #179528 is a reply to message #179501] Tue, 27 June 2006 18:47 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
if [ -e /tmp/foo.bar ]
then
echo "found file"
fi

repeat via cron

P.S.
What does this have to do with ORACLE?
Previous Topic: Issue in ps command
Next Topic: Not able to include wc -l inside expr
Goto Forum:
  


Current Time: Mon Nov 25 17:09:09 CST 2024