Log runonce exceptions only into error.log, not database.
Use error exceptions to trace errors in runonce files.
Use include_once instead of require_once.
Check if a runonce file exists before executing.
Do not check if runonce file exists.

The executor will do the check itself.