Alright I'm trying to make a single file cron for every 15 minutes to run on the server but after a certain time has hit 30 days, I want it to run that as well..

This is what I have.
PHP Code:
require("D:/XAMPP/Virtual/Nevux/FileLibrary/configuration.db.php");
$getCronInfo $db->dbQuery("SELECT * FROM `".DB_PREFIX."cron_items`");
while(
$cronThings $db->dbFetch($getCronInfo)){
    
$cron[$cronThings->key] = $cronThings->value;
}
print_r($cron); //debug
print "Last Run: ".$cron['last_trash_empty']."
"
//debug
print "Next Run: ".(time() + $cron['empty_trash_interval'])."
"
//debug
if(($cron['last_trash_empty'] >= $Functions->timeBetween($cron['last_trash_empty'], (time() + $cron['empty_trash_interval']))) || ($cron['last_trash_empty'] == 'Never')){
    print 
"
Rofl.."
//debug
    
$update $db->dbQuery("UPDATE `".DB_PREFIX."cron_items` SET `value` = '".time()."' WHERE `key` = 'last_trash_empty';");