From be2798607fd15e8b116993a8d33d75b0a6ad0f50 Mon Sep 17 00:00:00 2001 From: cassio Date: Fri, 28 Aug 2015 12:54:31 +0100 Subject: scripts for multiple submissions --- tools/etc/icpc/installboca.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tools/etc') diff --git a/tools/etc/icpc/installboca.sh b/tools/etc/icpc/installboca.sh index bea085c..28eb0c7 100755 --- a/tools/etc/icpc/installboca.sh +++ b/tools/etc/icpc/installboca.sh @@ -131,6 +131,12 @@ if [ "$OK" == "y" ]; then cp -f $conffile boca-$bocaver/src/private/conf.php fi chmod 700 boca-$bocaver/tools/*.sh +chmod 755 boca-$bocaver/tools/boca-submit-run* +chmod 700 boca-$bocaver/tools/boca-submit-run-cron + +chown root.root boca-$bocaver/tools/boca-submit-run-root +chmod 4555 boca-$bocaver/tools/boca-submit-run-root +echo "*/2 * * * * * root `pwd`/boca-$bocaver/tools/boca-submit-run-cron" > /etc/cron.d/boca cat > boca-$bocaver/src/.htaccess < /etc/apache2/conf.d/boca </dev/null -- cgit v1.2.3