The same way. But get cron to invoke a ruby/python/bash script or program to get the output you want.