Subj : Re: MPL Coding - firing a bash script?? To : paulie420 From : Gamgee Date : Sun Dec 01 2024 12:11 pm -=> paulie420 wrote to All <=- pa> I know I've done this before - but lemme state what I'm doing. I'm pa> needing to run a bash script on an external server from a Mystic MPL. I pa> setup SSH keys and I can run the script with a; pa> ssh user@x.x.x.x "bash /some/bash/script.sh" pa> But I don't want the USER to wait on that command to finish. (It pa> imports URLs a user enters into my ArchiveBox archive, but takes some pa> minutes to finish...) pa> So if I was just gonna run the command on the BBS CLI, I think I could pa> just do; pa> ssh user@x.x.x.x "bash /some/bash/script.sh" & pa> ... is there some way I can successfully do this from the MPL? ... the pa> MPL runs that above command and the script keeps running, and finishes, pa> but the user gets dumped out before its done? I don't know diddly about Mystic or MPL, but is it just as simple as including the '&' in the call to bash, thusly: ssh user@x.x.x.x "bash /some/bash/script.sh &" ? Easy enough to try, anyway. .... A day without sunshine is like night. === MultiMail/Linux v0.52 --- SBBSecho 3.23-Linux * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138) .