yeah what I posted is valid
Content visible to verified customers only.
$timediff is the time now minus the last time the cron was ran so say it was ran a day and a half ago that variable might be 2100 and the crontime in your case would be 1440. Thus the cron would run. Given the coding I just stated the cron can only run if the time difference is over 1440