Script smbstatus
Hi i need some help please,
for example i have wrote this so far:
while [ 1 ]; do smbstatus;sleep 20; done
this only loops and refreshes the smbstatus command.
but i want to continue loop.
So when there is a new connection and locked files i want it to send to
my email??
Thanks
|