Hello,

I never used cron jobs before and now I have this scenario:

I have a table with a Boolean column called: new.

I need to check this table every day, and if the record was created 30 days ago, I need to update the column to False.

Do I do this with a cron job?

I read lots of posts and articles about cron job but still not sure I understand if that is what I need... confusion...

Thank you

Recommended Answers

All 2 Replies

A cron job is a scheduled job. So if you do not want to trigger your script everyday by hand, a cron job is a good option.

Thank you pritaeas

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.