Each record has an end_at field with an individual value; upon reaching this date, the function of changing some parameters of the record should be performed. How to implement it? $ schedule is not suitable, or I do not understand something.

    1 answer 1

    Not enough information. Where is the field? What kind of variable? But from reading I would venture to assume that you need to change the data in the database when you reach the date from the end_at column. To do this, use the CRON Task Scheduler, which will run a function every day or an hour that will check the table, look at those lines where the date is needed and perform the necessary function.