attempt at replacing cron script with psd timer