Cronjob每25小时? [英] Cronjob every 25 hours?

查看:202
本文介绍了Cronjob每25小时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何设置每25小时运行一次的cronjob?

How do I set up a cronjob that runs every 25th hour?

推荐答案

不要

最好的解决我的头:写一个脚本来跟踪它的最后一次运行,有条件地运行它,如果它是超过25小时前。

Best hack off the top of my head: write a script to track the last time it was run, and conditionally run it if it was more than 25 hours ago.

Cron每小时运行一次驱动程序脚本。

Cron that driver script to run every hour.

这篇关于Cronjob每25小时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆