Get cron functions from public static method

Update get_functions() method to use the static method

Having a static method which is public allows for other scripts to
have access to a list of available functions without constructing the
class, which would mean connecting to database, querying and filtering
scheduled tasks, etc.