Answer the question
In order to leave comments, you need to log in
How often to run such a script with cron (PHP)?
Good day to all. The task is that the user opens a "deposit" and you need to give the user a bonus exactly in a week. How it is better to implement it? I store in the database id_user, the date the deposit was opened, the date the bonus was received. In fact, the logic has already been written, but how to do it using cron, i.e. how often to run it? Every minute?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question