All the years I have used .php I have never once used a cron job. Do I need a cron job for the following:
I have products displayed in my catalogue. They are listed for 30 days.
When the end time is less than the current time (UNIX TIMESTAMP), I want to update the status of the record automatically by updating the record in MySQL, without any user interaction.
So do I write an if statement and code to update the record normally or would I require a cron job?