Search Results

Search: Posts Made By: vamsi86
10,284
Posted By vamsi86
How to implement logic:My graph should check for the latest file & check If zero not exec else exec
First we need to check for the latest file in the directory & check If the file is Zero byte not execute else execute the graph by taking this file.:confused:
10,284
Posted By vamsi86
this is the code which will execute without checking for the file is empty or not.
This is the code which are executing by using crontab schedulers without checking whether the file is empty or not,because fo this we are getting many alert mails when ever it is executing empty file...
10,284
Posted By vamsi86
not to execute any grapf if the file in a directory is zero byte
Hi thanks for ur reply.but how to check for the latest file and execute that file if it is greater than zero bytes?
10,284
Posted By vamsi86
Not to execute any graph if the file in a directory is zero bytes
How to code shell script to know if the file in a dirctory is empty i.e., zero byte then not to execute any graph.Please help on this thanks in advance.

---------- Post updated at 08:18 AM...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 10:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy