Skip to content

Commit 36d9759

Browse files
committed
add example crontab
git-svn-id: https://svn.develooper.com/projects/pgeodns/trunk@713 e01dd7d5-6be1-0310-aa60-dbbdb055a346
1 parent 37d07ed commit 36d9759

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sync_config.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/sh
22
rsync --delete --exclude .svn --exclude *sample -a --port 7873 ddns1.develooper.com::dinamed-conf/ config/dist/
33

4+
5+
# run this from crontab with something like
6+
# */3 * * * * sleep $(expr $RANDOM \% 60); cd /var/services/pgeodns/pgeodns; ./sync_config.sh
7+
#

0 commit comments

Comments
 (0)