I created 10 user accounts for an application that we have and i would like to have all these 10 users send out messages simultaneously.
so i made 10 .py scripts, in each script there is just a system call that passes `
"name of app cli client, some parameters including email and message"
to bash, then I run all of them from bash in one command using &
and my question is how can I do this but do it better?
how can I send out 10 messages in parallel from bash? without creating 10 individual .py scripts? any help would be nice^^
how can I do this but do it better: what are your criteria of acceptation ? What don't you like about the default behaviour of&? If your scripts are a simple echo, the result should be pretty much instant.