[Labs-l] Bastion, grid and cgi py scripts

Alex Brollo alex.brollo at gmail.com
Tue Mar 4 16:24:53 UTC 2014


here my script:
https://wikitech.wikimedia.org/wiki/User:Alex_brollo/OpalToIA

Thanks Platonides for suggestions.

Alex


2014-03-03 21:39 GMT+01:00 Platonides <platonides at gmail.com>:

> On 03/03/14 15:53, Alex Brollo wrote:
>
>> I'm testing a (heavy) python script and I (painfully) learned to run it
>> by jsub; I'm testing a second cgi py script to run the former one from a
>> web form. I'm working into tools-dev after a sugegstion I got to run
>> such heavy scripts there.
>> My question: as soon as cgi-py script will be refined, how have I to go
>> on? Have I to merge the two scripts into one,
>>
> No need to do that. An application may be composed by multiple scripts.
>
>
>   even if it will be run (I presume) by bastion,
>>
> I don't think it needs to be run by bastion. I used to queue jobs at the
> toolserver from the webserver, for instance.
> The only problem may be that perhaps you find out in a web server without
> all submit tools. In that case, ask them to be installed :)
>
>  or have I to launch a separate jsub routine from my cgi-bin script?
>>
> Seems the more straightforward way. No problem with that. Just ensure
> all parameters passed to it are sanitized.
>
>
>  Can I found a specific help page about this kind of
>> issue? Can I publish the code somewhere (please, not in github.... I
>> can't understand basics) to get a revision of it?
>>
>
> pastebin? A random sandbox page at the wiki?
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140304/4792543c/attachment.html>


More information about the Labs-l mailing list