XenForo
Administrative
- Thread starter
- Admin
- #1
XF:CronEntry entity has the array column run_rules.
Based on these run_rules, I want to characterize a CronEntry as daily, weekly, monthly, yearly or multiple times per day.
For example to make a getter which returns 'daily', 'weekly' and so on.
Could anyone give some ideas?
\XF::dump($this->run_rules) examples:
These cron runs every 1 (!) minute (multiple times per day) :

These cron runs every 1st December (yearly) :
...
Read more
ادامه مطلب...
Based on these run_rules, I want to characterize a CronEntry as daily, weekly, monthly, yearly or multiple times per day.
For example to make a getter which returns 'daily', 'weekly' and so on.
Could anyone give some ideas?
\XF::dump($this->run_rules) examples:
These cron runs every 1 (!) minute (multiple times per day) :

These cron runs every 1st December (yearly) :

Read more
ادامه مطلب...