D
D
Dmitry Kuzmenko2018-04-22 07:56:15
PHP
Dmitry Kuzmenko, 2018-04-22 07:56:15

How to make a scheduler in php, specifically launching scripts at the scheduled time and date?

Good afternoon, I started to study the yii2 framework, set myself the task of writing a post scheduler in VK, so to speak,
get acquainted with the framework on a specific task, the question arose of how to make the scheduler so that it sends posts at a given date and time, cron seems to me to be of little use for such a task

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2018-04-22
@Stalker_RED

Any planner. Not necessarily crowns. You can even write it in php. (google "php daemon")

M
Mysterion, 2018-04-22
@Mysterion

Set the script in CRON to be executed every minute and do what you need in the script at the scheduled time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question