Initial commit.

This commit is contained in:
Achim D. Brucker 2017-10-10 20:32:30 +01:00
parent 0a4fb222e9
commit 9ddddc50c4
1 changed files with 19 additions and 0 deletions

19
sge/create-db-cdnjs.sge Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
#$ -V
#$ -l rmem=4G
#$ -t 1-10000
#$ -j yes
#$ -o /shared/brucker_research1/Shared/BrowserExtensions/archive/filedb/log
set -o nounset
set -x
SING_IMG=/shared/brucker_research1/Shared/BrowserExtensions/archive/filedb/ExtensionCrawler-cdnjs.img
SING_EXEC="singularity exec -w --pwd /opt/ExtensionCrawler -B $TMPDIR:/tmp $SING_IMG"
printenv
echo "The following parameter were passed: $*"
ls "$SING_IMG" > /dev/null
/usr/bin/time $SING_EXEC ./cdnjs-git-miner -v -p 1 -i -a /opt/archive -n $SGE_TASK_ID -N 10000 $*