Task::RunScripts
Inherits Task::ConcurrentTask < Task::Singleton < Task < Ktistec::Model::Polymorphic < Ktistec::Model::Common < Ktistec::Model < Reference < Object
Runs scripts.
Constants
Log = ::Log.for(self)
PATH = File.join("etc", "scripts")
Constructors
current_instance
Returns the current active instance of this singleton task.
Creates and saves a new instance if no active instance exists.
Class methods
ensure_scheduled
Ensures the singleton task is scheduled.
Typically called on server startup to ensure singleton tasks are created and scheduled.
Instance methods
perform
Source