pgcluu wants full path from cron, log it...

master
Jeff Moe 6 years ago
parent 3936df495a
commit 3f64721577

@ -1,31 +1,33 @@
#!/bin/bash
# forksand-pgcluu
mkdir -p /home/pgcluu/log
# XXX kludge
rm -rf /var/www/html/pg1
mkdir -p /var/www/html/pg1
pgcluu \
/usr/local/bin/pgcluu \
--output=/var/www/html/pg1 \
/var/lib/pgcluu/data/pg1
/var/lib/pgcluu/data/pg1 1>>/home/pgcluu/log/pg1.log 2>>/home/pgcluu/log/pg1.err
# XXX kludge
rm -rf /var/www/html/pg2
mkdir -p /var/www/html/pg2
pgcluu \
/usr/local/bin/pgcluu \
--output=/var/www/html/pg2 \
/var/lib/pgcluu/data/pg2
/var/lib/pgcluu/data/pg2 1>>/home/pgcluu/log/pg2.log 2>>/home/pgcluu/log/pg2.err
# XXX kludge
rm -rf /var/www/html/pg3
mkdir -p /var/www/html/pg3
pgcluu \
/usr/local/bin/pgcluu \
--output=/var/www/html/pg3 \
/var/lib/pgcluu/data/pg3
/var/lib/pgcluu/data/pg3 1>>/home/pgcluu/log/pg3.log 2>>/home/pgcluu/log/pg3.err
# XXX kludge
rm -rf /var/www/html/pg4
mkdir -p /var/www/html/pg4
pgcluu \
/usr/local/bin/pgcluu \
--output=/var/www/html/pg4 \
/var/lib/pgcluu/data/pg4
/var/lib/pgcluu/data/pg4 1>>/home/pgcluu/log/pg4.log 2>>/home/pgcluu/log/pg4.err

Loading…
Cancel
Save