Understand cron concepts
The cron daemon is a small subsystem composed of utilities and configuration files. cron of a certain style can be found in almost all UNIX-like systems. CronComponents include the daemon itself, a set of system-wide
From: http://blog.chinaunix.net/u3/111961/showart_2359262.html
Cron is a Linux scheduled execution tool that can run jobs without human intervention.
1. About crontab
In ubuntu server 9.10, cron is installed and started by default. The/etc/crontab
Introduction
Cron is a Linux timed execution tool that can run jobs without human intervention.Under Ubuntu Server, Cron is installed and started by default, and if it is not started, it is set and started (chkconfig\sysv-rc-conf).The following can
IntroducedCron is a Linux timed execution tool that can run jobs without human intervention.Under Ubuntu Server, Cron is installed and started by default, and if it is not started, it is set and started (chkconfig\sysv-rc-conf).The following can be
Cron is a Linux scheduled execution tool that can run jobs without human intervention. Since cron is a built-in service in Linux, but it does not automatically get up, you can use the following methods to start and close this service:
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
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
In linux, php regularly executes cron tasks. There is no solution for PHP itself to execute scheduled tasks, but it is completed by using the sleep function. This approach requires some configuration in advance, such as the implementation process:
Linux's implementation of php's scheduled cron task does not have a solution for PHP itself to execute the scheduled task, but it is completed by using the sleep function. In this way, you need to make some configuration in advance, such as the
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.