1) ssh w/private&public keys, no passords
2) rsync -ave ssh
3) Create your script and make it executable (usually chmod 755
If bash script - start it with #!/bin/sh
example:
#!/bin/sh
rsync -ave ssh
/path/to/perl -w perl_file_name /path/to/
any_other_processes
4) If script is OK - put it in /etc/chron.
Notes:
#slocate -u
then
$locate
or
$sudo find /-name
No comments:
Post a Comment