use cron to save pictures