Hi,
I am trying to run a simple script that periodically copies/updates files from my novell server to my Esmith 5.1.2 box though cron.
Basic script is as follows :
#!/bin/sh
cp -uR /files_from_novell /relevant_folder_on-Esmith
I know this is extremely simple. Anyone any idea how to add a bit of crash protection or error reporting - i.e. if it completes then send an OK to admin - if it fails, kill and send an error message.
Any help would be gratefull appreciated.
B. Rgds
John