Use a small shell script for cron.