[Oberon] A technote for automatically running batch job on system startup

Michael Schierl schierlm at gmx.de
Thu Dec 24 00:47:03 CET 2020


Hello,


Am 02.08.2020 um 16:51 schrieb Charles Perkins:

> I used Michael Schierl's Batch.Mod for the actual batching of commands
> but Andreas Pirklbauer's system would have worked just as well, or any
> other batching or script system. The above changes merely call the first
> command in a text file, the rest of what happens is up to that command.

For the record, I finally managed to finish my Script module (which,
unlike Batch, can do GoTo, and checks the exit codes) and pushed it to
GitHub:

https://github.com/schierlm/Oberon2013Modifications/blob/master/Scripting/Script.Tool.txt

Also, ScriptVars module can be used to have variables (captured from
Log, viewers, files, or error codes) and manipulate them, and expand
them inside commands.

ScriptBlocks module provides a simple structured programming extension
so that you don't have to use the dreaded GoTo. The Script.Tool lists
all commands and a few small scripts.

Regards,


Michael


PS: Merry Christmas :)



More information about the Oberon mailing list