V
V
Vladislav Mikhailov2018-02-05 13:46:18
PHP
Vladislav Mikhailov, 2018-02-05 13:46:18

Php - How to make a request to the database at a specific time?

Php program is planned. It is necessary to make a query to the database (mysql) every day at a certain time. Can you please tell me how to implement it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Max, 2018-02-05
@VladiMikh

cron
make a script with the right code, use cron to access the script at the right time.
in most cases, tp will help.
for example, I have cron set up:
prntscr.com/iac2v4
the first line is wget accessing the url where the script
2 and 3 are located, the path to php and the path to the script are indicated there.
in general google)
in most panels there are hints on how to set up cron

G
Gleb Starkov, 2018-02-05
@colonel

cron

R
Roman Frank, 2018-02-05
@Akellacom

cron or some kind of queue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question