jayjaybigs
IS-IT--Management
Hello,
I was wondering if anyone has an input for the following questions.
1) I am interested in starting my shell script only after the existence of a particular file.
For example, I have directory - personals, in this directory there is personals.sh .
I would like to start personal.sh only when there is employee.txt which is an input for the personal.sh
employee.txt could come any time and personal.sh should be triggered when employee.txt arrives.
I would have prefered to write a crontab job for this, but user prefer it to execute only when the file exist as supposed to periodic running.
2)Also, could you point me to any code line that would send file, not FTP, from remote server to local drvie c: on the sqme network
Thanx
I was wondering if anyone has an input for the following questions.
1) I am interested in starting my shell script only after the existence of a particular file.
For example, I have directory - personals, in this directory there is personals.sh .
I would like to start personal.sh only when there is employee.txt which is an input for the personal.sh
employee.txt could come any time and personal.sh should be triggered when employee.txt arrives.
I would have prefered to write a crontab job for this, but user prefer it to execute only when the file exist as supposed to periodic running.
2)Also, could you point me to any code line that would send file, not FTP, from remote server to local drvie c: on the sqme network
Thanx