On 2020-06-23 16:47, Isaac Johnson wrote:
I'm interested in running some long-ish scripts
that loop through the dump
replicas on Toolforge. Eventually, this sort of thing might move to crontab, but
for now it would be nice to run a screen session as we test / debug the scripts.
The problem is that if I run the scripts from my tool account (i.e. after
"become <tool-name>"), I get the following error: Cannot open your
'/dev/pts/28' - please check.
You shouldn't run such script on the bastions.
The grid is the way to go in this case:
Run your script with jsub and it will be scheduled in a grid worker node to run
until it finishes.
Arturo Borrero Gonzalez
SRE / Wikimedia Cloud Services