queues(false)) . "\n"; } public static function beforeFork($job) { echo "Just about to fork to run " . $job; } public static function afterFork($job) { echo "Forked to run " . $job . ". This is the child process.\n"; } public static function beforePerform($job) { echo "Cancelling " . $job . "\n"; // throw new Resque_Job_DontPerform; } public static function afterPerform($job) { echo "Just performed " . $job . "\n"; } public static function onFailure($exception, $job) { echo $job . " threw an exception:\n" . $exception; } }