-
Notifications
You must be signed in to change notification settings - Fork 2
/
toolforge.txt
28 lines (17 loc) · 2.05 KB
/
toolforge.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* Deprecated *
These instructions no longer work since Toolforge no longer uses the Grid Engine.
------
Notes for use on Toolforge:
1. Make a sub-directory to hold stdio and stderr
mkdir stdioer
2. Silence BotWikiAwk's default logging on success
ln -s /dev/null logdiscovered
== One-off run==
rm stdioer/oneoff.*
jsub -once -N "oneoff" -e /data/project/botwikiawk/numberof/stdioer/oneoff.stderr -o /data/project/botwikiawk/numberof/stdioer/oneoff.stdout -wd /data/project/botwikiawk/numberof numberof.awk
== Run via cron ==
# Run every 3 hours except for 23hr which runs with the -d switch for also updating daily.tab
45 2,5,8,11,14,17,20 * * * /usr/bin/jsub -once -quiet -N no.awk -release buster -l mem_free=25M,h_vmem=50M -e /data/project/botwikiawk/numberof/stdioer/numberof.stderr -o /data/project/botwikiawk/numberof/stdioer/numberof.stdout -v "AWKPATH=.:/data/project/botwikiawk/BotWikiAwk/lib" -v "PATH=/sbin:/bin:/usr/sbin:/usr/local/bin:/usr/bin:/data/project/botwikiawk/BotWikiAwk/bin" -wd /data/project/botwikiawk/numberof /data/project/botwikiawk/numberof/numberof.awk
45 23 * * * /usr/bin/jsub -once -quiet -N no.awk -release buster -l mem_free=25M,h_vmem=50M -e /data/project/botwikiawk/numberof/stdioer/numberof.stderr -o /data/project/botwikiawk/numberof/stdioer/numberof.stdout -v "AWKPATH=.:/data/project/botwikiawk/BotWikiAwk/lib" -v "PATH=/sbin:/bin:/usr/sbin:/usr/local/bin:/usr/bin:/data/project/botwikiawk/BotWikiAwk/bin" -wd /data/project/botwikiawk/numberof /data/project/botwikiawk/numberof/numberof.awk -d
# Ties dataset - ties are ranked equally instead of sequentially. Updated once daily
25 12 * * * /usr/bin/jsub -once -quiet -N no.awk -release buster -l mem_free=25M,h_vmem=50M -e /data/project/botwikiawk/numberof/stdioer/numberof.stderr -o /data/project/botwikiawk/numberof/stdioer/numberof.stdout -v "AWKPATH=.:/data/project/botwikiawk/BotWikiAwk/lib" -v "PATH=/sbin:/bin:/usr/sbin:/usr/local/bin:/usr/bin:/data/project/botwikiawk/BotWikiAwk/bin" -wd /data/project/botwikiawk/numberof /data/project/botwikiawk/numberof/numberof.awk -t