All Questions
6 questions
0
votes
1
answer
881
views
Reload nginx configuration when rsync updates nginx.conf
I have two web servers, server1 and server2.
On server2 there is an rsync command, scheduled in crontab, that updates /etc/nginx folder when I make some changes on server1:
*/5 * * * * rsync -avzhe ...
2
votes
1
answer
7k
views
How to log the output from an rsync backup which runs from a script using crontab?
I would like to log all the output that is generated by rsync; the output that I see when I run the script myself in terminal. I would prefer this logging to occur from within my script.
Here is my ...
1
vote
1
answer
1k
views
rsnapshot: What's wrong with my crontab?
I am using Rsnapshot for backups (Linux CentOS 6).
Here is my /etc/cron.d/rsnapshot:
30 11 * * * root /usr/bin/rsnapshot nowandthen > /backups/rsnapshot_cron.txt 2>&1
15 11 * * 4 root ...
1
vote
1
answer
3k
views
cannot rsync via ssh from crontab
I'm having issues transferring files with rsync via ssh.
If I just run
rsync -avz [email protected]:/home/devel/ $/home/user/rsync/servidor
it works as expected since the public key is stored in the ...
4
votes
5
answers
5k
views
rsync works fine until I put it in crontab (UPDATE: 'date' doesn't work in crontab)
I've got this rsync command that works just fine when I run it from the command line (Ubuntu Server 12.04.1 LTS). I'd like it to run every hour, on the hour, and output the results (along with errors) ...
-5
votes
1
answer
557
views
Schedule a cronjob start everyday automatically [duplicate]
Possible Duplicate:
Is there a way to have Linux run a command every X minutes?
I want to run a command which will be synchronize my remote folder data to my local computer.
command is sync -ave '...