- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 CentOS 5.5、Apache、MySQL 和 PHP。我还安装了 Hudson。现在我想每小时运行一个 SQL 语句。最简单的方法是什么?我应该使用 Cron 还是 Hudson?
最佳答案
cron
是可插拔的,只要你的盒子启用了 crond,
与基于 java 的 hudson 不同,使用更少的资源,
As a Java-based web application, Hudson is heavyweight. A low-memory or embedded system is better-off with cron. Even Hudson’s remote job invocation installs and starts a Java-based runtime. You can, however, use the SSH plugin if even one box can run the main Hudson instance.
Cron’s scheduling is more precise if things have to happen exactly at certain time intervals. Hudson’s assumption is that your periodic builds aren’t dependent on when they start within a minute or two.
关于sql - LAMP 与 Hudson : How to run SQL Statement every hour,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4444685/
我是一名优秀的程序员,十分优秀!