diff options
author | Arquivo Publico de Memoria Coletiva <arquivo@sarava.org> | 2015-08-08 11:37:56 -0300 |
---|---|---|
committer | Arquivo Publico de Memoria Coletiva <arquivo@sarava.org> | 2015-08-08 11:37:56 -0300 |
commit | 1cfe5264638b0df56c6945c47bb18ef1d384477a (patch) | |
tree | 731ff6ad29477dfb43a832da47cbfd8e4148eb43 /bin/cron | |
parent | 7cbbe06a32daddd2256b821564e9bc660e68cc41 (diff) | |
download | arquivo-1cfe5264638b0df56c6945c47bb18ef1d384477a.tar.gz arquivo-1cfe5264638b0df56c6945c47bb18ef1d384477a.tar.bz2 |
Rename sync script
Diffstat (limited to 'bin/cron')
-rwxr-xr-x | bin/cron | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/bin/cron b/bin/cron deleted file mode 100755 index d192d9bef6d..00000000000 --- a/bin/cron +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# -# Arquivo automatic syncronizer. -# - -# Parameters -CWD="`/bin/pwd`" -GIT="/usr/bin/git" -NICE="/usr/bin/nice -n 19" -IONICE="/user/bin/ionice -c 3" -ARCHIVE="/var/cache/sites/arquivo" - -# Run -cd $ARCHIVE -$IONICE $NICE $GIT annex add . && \ -$IONICE $NICE $GIT annex sync && \ -$IONICE $NICE $GIT annex get . &> /dev/null -cd $CWD |