Marcus
Well-known member
I unset some variables at the end of a xenforo cron.
Is it true that the cron is executed separately, and only the one single php file which I execute (like XenForo_CronEntry_MyCron.php) is executed by php? Not other php code is processed?
If that's the case, the script is actually at it's end and the variables are unset once the script finished it's execution. So it is not useful to unset the variable.
Is it true that the cron is executed separately, and only the one single php file which I execute (like XenForo_CronEntry_MyCron.php) is executed by php? Not other php code is processed?
If that's the case, the script is actually at it's end and the variables are unset once the script finished it's execution. So it is not useful to unset the variable.