ref: master
script/delayed_job
#!/usr/bin/env ruby ## This is the Noosfero delayed job controller script. It starts and stops the # delayed job daemon, which is implemented in the DelayedJob plugin. # # The role of this script is to just start/stop the daemon, write a PID file, # etc. The actual feed update logic is DelayedJob plugin. require_relative '../config/environment' require 'delayed/command' Delayed::Command.new(ARGV).daemonize