Linux regularly executes PHP files via cron
Additional points:1. To add the path of the interpreter to the PHP file header, usually #!/usr/bin/php2. Grant the
PHP uses cron to synchronize articles to Sina and Netease Weibo 1. Tw2other? Is a PHP applet that supports synchronizing data from twitter to digusinazu?follow59911 Douban broadcast fresh fruit broadcast to the Internet, and NetEase Weibo? Author:
PHP uses cron to synchronize articles to Sina and Netease Weibo 1. Tw2other? A php applet that supports twitter synchronization to digu/sina/zuosa/follow5/9911/Douban broadcast/fresh fruit broadcast/human/Renren/NetEase Weibo? Author: cluries
PHP use cron to achieve the article synchronization to Sina, NetEase and other micro-bo
1.tw2other
?
A PHP applet that supports Twitter sync to digu/sina/zuosa/follow5/9911/watercress Radio/fresh fruit hookup/Human Network/Renren/NetEase
PHP use cron to achieve the article synchronization to Sina, NetEase and other micro-bo
1.tw2other
?
A PHP applet that supports Twitter sync to digu/sina/zuosa/follow5/9911/watercress Radio/fresh fruit hookup/Human Network/Renren/NetEase
Address: http://blog.csdn.net/helisong427/article/details/7386231
Configuration steps:1. the PHP interpreter must be compiled and installed in Linux. After installation, copy the $ {PHP}/bin/PHP file under the installation directory/Usr/bin/, and
Linux scheduled task crontab
Cron is a built-in service of Linux, but it does not automatically get up. You can start or close this service using the following methods:
Reference:
/Sbin/service crond start // start the service
/Sbin/service crond
Article Title: let you learn how to schedule tasks in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
Java EE Development of various types of resources download list, the history of the most complete IT resources, personal collection summary.
In Linux, the task of cycle execution is typically handled by the cron daemon Ps-ef | grep cron
Cron reads
There are three types of Linux scheduled tasks:at: Specify a time to perform a task (one or more tasks, once executed, not used)Cron: Perform tasks automatically based on a schedule (with one or more tasks, periodically)System-level scheduled tasks
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.