i need to test for the presence of a file on a computer running Linux. how can i do this?
<font size=-1>[ This Message was edited by: stladmin on 2003-06-16 10:07 ]</font>
testing on linux
I used the web server and some shell scripting for tests on a UNIX server.
I wrote a small shell script to pull apart the disk usage and flagged anything over 90%. Then I put the files in a web directory and used a "URL request" for each volume and checked the content of the file for the word WARNING.
I scheduled the shell script via cron to run every 5 minutes.
I'm planning on testing more things (like Perl scripts that run all the time, etc.), just haven't yet.
I wrote a small shell script to pull apart the disk usage and flagged anything over 90%. Then I put the files in a web directory and used a "URL request" for each volume and checked the content of the file for the word WARNING.
I scheduled the shell script via cron to run every 5 minutes.
I'm planning on testing more things (like Perl scripts that run all the time, etc.), just haven't yet.