How to make a replay of one event each month and year?

0 like 0 dislike
37 views
How to make a replay of one event each month and year ?

There are events 2017-04-15 numbers like this event to repeat every month on the 15th of
As well as events 2015-07-20 numbers like this event to repeat every year the same month and day
by | 37 views

1 Answer

0 like 0 dislike
In the script set the selection on these dates when you run the script.
1. Divide the date using explode()
2. Compare the number of
3. If equal, then output, otherwise not.

All works on the principle when it is necessary - and then done.
If you need to clean up the database once a month, then there is better to use bash.
by
110,608 questions
257,186 answers
0 comments
33,673 users