[clug] A "How to" SSH question: copy file (scp/sftp) to remote system, then trigger a handler on remote.
steve jenkin
sjenkin at canb.auug.org.au
Thu Jan 21 10:41:51 UTC 2016
Chris, thanks very much for this.
Did not know about this rsync option.
Will reliably do the sort of thing I need, and across multiple systems.
There are two situations which require difference acquittals of transactions on originator:
- real-time processing allows a local script to run, and the ‘remove source’ option works.
- batch or serialised (due to load/performance issues). Needs a queue handler and another
> On 21 Jan 2016, at 9:15 PM, Chris Smart <clug at christophersmart.com> wrote:
>
> as mentioned above, rsyncd post-xfer exec option should do the trick.
Thanks very much to everyone who responded, with iNotify (inode notify) and ‘rsync’.
- Chris Smart,
- Brett Worth
- Clinton Roy
- Brendan Jurd
and off-list, David Cottrill & Hal Ashburner.
Appreciate you giving your time and expertise freely.
cheers
steve
--
Steve Jenkin, IT Systems and Design
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA
mailto:sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin
More information about the linux
mailing list