我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

重新运行第一次尝试失败的cron

I have a folder where I have some files automatically created in some particular case.

I want to delete those files which are more than 10 days older.

I have a cron which does the job scheduled for every Sunday. I have set this up in the crontab.

I would like to know if there is any way I can have the cron rerun in case if the cron failed to delete the files on Sunday.

For example: if the job fails on Sunday, can we have it rerun after some time or the next day?

近期文章

  • 将对象推送到包含相同键的数组
  • 重新启动后Apache会话模块不起作用
  • Erro 406(不可接受)jquery文件上传删除文件
  • 如何在特定课程中查找所有在线用户
  • 从多个表中获取对象的最佳方法是什么?
  • PHP返回错误504(异步调用的负载过多?)
  • 使用分页为wordpress构建存档页面
  • 检索动态子阵列
  • 我个人网站上的cgi-bin文件,我无法访问或更改
  • Eloquent在急切加载模型关系时自动选择不需要的列
  • 在SugarCRM中添加自定义分组字段
  • Zend Framework 2在模块之间路由
  • PHP:如何使用另一个关联数组从一个关联数组中删除元素
  • 在网址中包含帖子ID
  • 修剪Wordpress帖子标题
  • Http从Swift发送请求到PHP脚本
  • 在OSX上使用PHP的MS SQL连接错误
  • 使用PHP和LDAP设置accountexpires日期
  • preg_replace和json_decode - Ajax处理程序 - php
  • PHP,致命错误,php不“看”对象

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华