To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / deploy / config / cron.daily @ 1587:d8949733849d
| 1 | 1586:d0d59d12db94 | Chris | #!/bin/sh |
|---|---|---|---|
| 2 | outfile="/var/files/backups/postgres-dumpall-`date +%Y%m%d%H%M`" |
||
| 3 | oldmask=`umask` |
||
| 4 | umask 0277 |
||
| 5 | su postgres -c /usr/bin/pg_dumpall > "$outfile" && bzip2 "$outfile" |
||
| 6 | umask "$oldmask" |
||
| 7 | #!/bin/bash |
||
| 8 | cd /tmp |
||
| 9 | /var/www/code/docgen/extract-docs.sh |
||
| 10 | #!/bin/bash |
||
| 11 | sudo -u code sh -c "cd /var/www/code ; ./script/rails runner -e production extra/soundsoftware/get-statistics.rb >> log/statistics.log" |
||
| 12 | #!/bin/bash |
||
| 13 | tail -2 /var/log/external-repos.log |