Cron作业每月的第1天运行 [英] Cron job to run every 1st day of the month

查看:2454
本文介绍了Cron作业每月的第1天运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个cron作业,该作业将在每月的每一天的第一天(这一天的每一分钟)运行。我将从cpanel创建它。

I need to create a cron job that will run on the every 1st day of the month every minute of this day. I will create it from cpanel.

任何帮助都将受到赞赏。谢谢

Any help is appreciated. Thanks

推荐答案

crontab条目应如下所示:

The crontab entry should look like this :

* * 1 * * cmd_to_run

列的平均值

每分钟

每小时

每月的第一天

每个月

每周的任何一天,然后输入命令。

any day of week, and then the command.

我不确定cpanel管理员

I'm not sure about cpanel admin

这篇关于Cron作业每月的第1天运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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