The IBM mainframe product I work on has a similar implementation of script locations. We have "events" that run scripts that are either embedded in the event's database definition or in an external file.
The biggest issue our customers have with storing in the database is that the script is hidden from change management and auditing. That's not so much the case with Rivendell, I imagine. You can't grep a database - yeah, yeah, SQL etc, but someone has to write the UI. <smile> You're stuck with whatever editor the product (ours or Rivendell) implements, unless there are more changes to the product to configure and use an external editor. What we've found is that the database is useful for customers with small scripts or less-than-formal management, but for anything beyond that they prefer to use external files. On Tue, Jan 7, 2020 at 2:31 PM drew Roberts <[email protected]> wrote: > Something was said on list recently that made me want to move my automatic > log generation from a bash script run daily via crond to a bash script run > daily via rdcatchd. > > I am having some problems with that which I will address in another post. > > While trying to get that working and thinking for the reason for doing it > I had this vague idea: > > Store all bash scripts run via macro carts with RN commands in those macro > carts. Have rivendell create the bash scripts if it finds them missing. > > For possible discussion: > > Should a separate folder structure be created for the storage of these > bash (and other?) scripts be used as opposed to the /home/rd (or whatever) > location I general use? > > When setting up a macro cart, and adding a line that has an RN command, > should rdlibrary import that bash/shell script? > > Is there a simple way to keep the in cart and in file system / directory > scripts in sync? Should they just live in rivendell and not in the file > system and just be created every time they need to be run? Would this be > too slow? > > What else am I missing? Is this a brain dead idea? > > all the best, > > drew > > > > -- > Enjoy the *Paradise Island Cam* playing > *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/ > _______________________________________________ > Rivendell-dev mailing list > [email protected] > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
