Home > Backend Development > PHP Tutorial > php如何按照预定的时间改变一条信息的状态

php如何按照预定的时间改变一条信息的状态

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:11:51
Original
1076 people have browsed it

发布一条信息,状态是有效,同时设置这条信息三天后状态改变为失效。当这条信息失效的同时,发一条消息给相关的用户。怎么做?PHP。

回复内容:

发布一条信息,状态是有效,同时设置这条信息三天后状态改变为失效。当这条信息失效的同时,发一条消息给相关的用户。怎么做?PHP。

百度一下:

crontabdelay queue

定时器任务

定时或者脚本放后台

cron 做计划任务更改状态 开启daemon监听并通知目标

定时任务定时任务

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template