Search Results

Search: Posts Made By: wviands
2,164
Posted By wviands
Basically, I made a complete mess of your script....
Basically, I made a complete mess of your script. Good grief, even my reading skills have gone downhill. My apologies, it's working fine now that I put in what you posted instead of what I thought I...
2,164
Posted By wviands
The script I posted above is definitely working....
The script I posted above is definitely working. I'm running it from cron every minute and tossing in or deleting random numbers of 0 byte files.

I tried...

find $dir -type f -empty > $FILE...
2,164
Posted By wviands
More like this then. I think it's working too,...
More like this then. I think it's working too, this is weird. It also means that I initially over complicated the script.

Thank you.

FQDN=`/bin/domainname -f`
FILE=$FQDN.`date +%F`.txt...
2,164
Posted By wviands
I don't know how to get the email in a text file....
I don't know how to get the email in a text file.

This is what I have at this point, still not functioning as I wish but at least I don't feel like I'm stuck in too deep a rut.

...
2,164
Posted By wviands
Just looking for new files. Eventually the zero...
Just looking for new files. Eventually the zero byte files will be deleted but I expect new ones to show up occasionally.

I'm still fiddling with the diff stuff.

I was spoiled earlier in life...
2,164
Posted By wviands
Bash Script Help Needed
I have a small script I wrote to look for empty files on a Linux box. It finds the empty files and emails the list to me. That works great. What I need to do now is set a cron job to run the thing...
Showing results 1 to 6 of 6

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