Hello all.
Who can help me write cron perform the following actions:
I want users they can establish the time to open, locked their posts over time.
For example, he will setting open topic on Thursday 7:30 - 17:30 on Monday every week, then the thread will be open, locked again by cron.
This is my table open_close:
P/S:
- week : 2 = Monday; 4 = Tuesday; 8 = Wednesday; 16 = Thursday; 32 = Friday; 64 = Saturday; 128 = Sunday