每24小时执行一次php页面[重复](Execute a php page every 24 hours [duplicate])
这个问题在这里已有答案:
- 如何在预定的时间运行PHP脚本 4个答案
我有一个数据库,我必须更新它每24小时解析一些HTML页面并将这些新的信息放入其中。 html页面的解析是在一个php文件中,我应该每24小时执行一次这个代码。 有办法吗? 还有其他选择吗?
This question already has an answer here:
I have a database and i must update it parsing some html pages every 24 hours and putting these new informarmations inside. The parse for the html pages is in a php file and i should execute this code every 24 hours. Is there a way to do it? Are there some alternatives?
原文:https://stackoverflow.com/questions/26047316
最满意答案
Use the
padding
prop on the Grid List component:<GridList padding={20} />
Read more on this in the documentation. Also, check out the code for the examples by clicking on the top right <> icon.
相关问答
更多-
我会添加一个ItemTemplate来设置边距
... -
材质UI和网格系统(Material UI and Grid system)[2023-10-28]
材质UI实现了自己的Flexbox布局。 似乎他们最初想保持自己纯粹是一个“组件”库。 但是其中一个核心开发人员认为这是不重要的 。 它现在已经被合并到核心代码中 ,并且正在使用v1.0.0发布。 目前(2017年8月),它在下一个/ beta分支从阿尔法移动,所以希望它有点更稳定。 您可以通过以下方式安装: npm install material-ui@next 有一个预览与代码示例 。 更新:我已经在我工作的项目中实现了他们的网格系统,没有任何问题。 Update2:如Suresh所述, Selec ... -
在列表中使用数组时,可滚动材质Ui列表中的可点击列表项(Clickable listitem in Scrollable Material Ui List while using array in list)[2022-03-19]
this.handleClick()在渲染过程中调用handleClick函数,当用户单击列表项时应该调用它。 您不想将该功能传递给onClick, 不要调用该函数。 myItems.push(//note: you can pass key as number {name} ) ... -
您可以使用以下代码在按钮的每一侧插入3的填充。 这涉及将细胞大小减少6。 CGFloat padding = 3; cellSize.width -= 2*padding; //new code cellSize.height -= 2*padding; //new code for (int x = 0; x <= rows; x++) { insertPoint.y += padding; //new code for (int y = ...
-
@sergeras, 您提出的解决方案不起作用。 我很惊讶,通过使用属性选择器和
引发错误,我在Angular Material 2官方存储库中引发了一个问题 。 角质材料2的主要贡献者之一Jeremy Elbourn提供了一个解释 : ...您可以将网格列表视为具有特定API的单个UI组件 。 由于每个组件实际上都是一个黑盒子,因此将网格贴片放置在另一个组件内部会完全隐藏网格列表。 因此,我的问题的答案是: 目前无法在不同的Angular 2组件中分离Angular2 Mater ... -
要覆盖JTextArea的行间距,请查看PlainView(用于呈现PLainDocument)。 public void paint(Graphics g, Shape a)方法中有以下几行 drawLine(line, g, x, y); y += fontHeight; 因此,您可以调整渲染固定y偏移。 在BasicTextAreaUI方法中创建视图。 将其替换为您自己的PlainView实现 public View create(Element elem) { ...
-
材质UI网格列表项间距(Material UI Grid List item Spacing)[2023-09-13]
使用Grid List组件上的padding prop:在文档中阅读更多相关内容 。 另外,单击右上角的<>图标,查看示例代码。 Use the padding prop on the Grid List component: Read more on this in the documentation. Also, check out the code for the examples b ... -
ng-click="onRowClicked(item)" 应该 (click)="onRowClicked(item)" 检查模板语法 : https : //angular.io/docs/ts/latest/guide/cheatsheet.html ng-click="onRowClicked(item)" should be (click)="onRowClicked(item)" Check Template syntax on: https://angular.io/docs/ts/l ...
-
material-ui GridList与网格布局无关。 看看材料设计指南 : 网格列表是标准列表视图的替代方法。 您需要自己实现网格布局或使用一些现成的库。 它们中有很多,通常基于Bootstrap网格,或者非常相似: 自举并网反应 ReactGrid 反应虚拟化 (针对更高级的需求) 您可能找到的远不止这些,只需找到最适合您需求的那个。 就个人而言,我创建自己的Grid组件以完全控制它。 GridList in material-ui is not about grid layout. Take a l ...
-
我想你需要从地图上return孩子。 grid.js抱怨其child grid.js undefined 。
{props.flats.map((f, i) => { return ( I think you need to return the chi ...element) })}