|
| To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
|
| cc:
|
#x27;
> Subject: Rsync utilization every 5 seconds
>
>
> Hi.
>
> I installed the rsync and I need it to run every 5 seconds
> between 2 machines.
>
> I was planning to use it in crontab, but this allows only
> every minute.
>
> I couldn“t find how
A simple way would be to write an infinite loop shell script:
#!/bin/bash
while [ 0 == 0 ]
do
rsync ...
sleep 5
done
---
This, however, does not ensure that rsync is called every 5 seconds "on the
clock", just that 5 seconds pass between two consecutive cal
Hi.
I installed the rsync and I need it to run every 5 seconds between 2 machines.
I was planning to use it in crontab, but this allows only every minute.
I couldn“t find how to do it.
Could someone explain me how to run rsync automatically every 5 seconds?
Thanks in advance,
Mauro
--
To uns