Welcome Guest, Not a member yet? Register   Sign In
Where is the Best Place for Cron Methods ?
#1

Hi, i've a cron controller that calls its own methods. Pretty common. Now : these methods calls others methods like clean old entry from others coltroller/model processes. These others methods:
  1. not requires authentication
  2. not requires views (obviously)
So, Where is the Best Place for these methods ?

  1. Cron Controller
  2. Parent's methods controllers
  3. involved models
which ones ?
thanks
Reply
#2

Individual user cron files are kept in /var/spool/cron, and system services and applications usually keep their cron job files in /etc/cron.
Reply
#3

(02-04-2022, 05:20 AM)Kerry Watson Wrote: Individual user cron files are kept in /var/spool/cron, and system services and applications usually keep their cron job files in /etc/cron.

Ok, you haven't read the question or you doesn't understand the question...maybe both.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB