#!/usr/bin/env php bootstrap(); foreach (glob(realpath(APPLICATION_PATH . '/crons') . '/*.php') as $fname) { require_once ($fname); }