Store and Forward for DB insert via script

HI All,

Can database insert through scripting for Store and Forward. Is this function available and how to enable it. There are occasions when DB is down for few minutes and I have few scripts to add manually downtime on the line. So I would like to be able to add this in to Store and Forward if DB is not available.

Thanks in advance

E.g. Instead of using: system.db.runUpdateQuery

Use: system.db.runSFUpdateQuery


Thanks for your help.