Wikimedia Labs/Tool Labs/Help

[20:44:14]  What's your labs username? [20:44:22] addshore [= [20:44:23]  Well, wikitech now. :-) [20:44:44]  addshore: You can haz gridz. [20:44:47] also in regards to having sql with the gridz :P Could you not just setup a single sql instance? :O [20:44:51]  addshore: tools-login [20:45:36] :D [20:47:27]  addshore: Do you need a tool directory and stuff set up? That requires manual handling atm. [20:47:42]  (Needed if you want to have a web interface) [20:47:55] wont need a web interface :) [20:48:19]  Also needed for continuous jobs. [20:48:35] mhhhm, go on then :P [20:48:47]  please to give me name of tool [20:48:54] addbot :P [20:53:41]  addshore: project dir is in /data/project/addbot [20:55:11]  addshore: only the tool can actually request continuous runs. You can sudo to it to do stuff. [20:55:27]  Also http://tools.wmflabs.org/addbot/ [20:55:36] [= [20:55:36]  (That's for free) :-) [20:56:03]  You'll probably need to log off and back on to be in the local-addbot group [20:56:10]  (the username for the tool is local-addbot) [20:58:04] okay :) [20:58:33]  addshore: hint: sudo -iu local-addbot  legoktm: there's a public_html in there. So whats the basic workflow? Do I just stick my tools in that directory? I probably need a cgi-bin <Coren> legoktm: There's one too. :-) :) <Coren> legoktm: Stuff in there is run by the user owning it, even from the webserver <Coren> the webserver is a valid submit host, so you can qsub things from your CGIs ooh and the syntax for job submission is the same? <Coren> Basically, though I expect the available queues are mostly different but that should be transparent to you. <Coren> You can also qstat to xml if you want to do fancy things like show the status of jobs from the web interface. <Coren> Your tool lives under http://tools.wmflabs.org/legobot/ <Coren> Remember that you should run your jobs as the tool user, and the cgis and php should be owned by it as well. <Coren> You can run one-off jobs as yourself if you want, though.