Easy is to use the scheduler, which can now run SQL Plus scripts, eg
https://connor-mcdonald.com/2018/06/20/the-death-of-utl_file/ If you want control over the launching of SQL Plus, check out this video I did which uses a simple mechanism to do that
Here's a quick primer
1) create a table T
2) Start a main sqlplus session that does "lock table T in exclusive mode"
3) start as many SQL Plus sessions as you want
Windows
start sqlplus user/pass @myscript
Unix
sqlplus user/pass @myscript &
4) the first thing in 'myscript' is
lock table T in share mode
Now they will all sit there doing nothing until you return to your main sqlplus and enter "commit"