在debian系统中,crontab的时间格式遵循以下规则:
* * * * * command-to-be-executed - - - - - | | | | | | | | | ----- Day of week (0 - 7) (Sunday to Saturday; 7 is also Sunday) | | | ------- Month (1 - 12) | | --------- Day of month (1 - 31) | ----------- Hour (0 - 23) ------------- Minute (0 - 59)
每个字段代表一个时间单位,从左到右依次为:分钟、小时、月份中的某一天、月份、星期中的某一天。每个字段可以使用以下符号:
以下是一些Crontab时间格式的示例:
以上就是Debian Crontab的时间格式怎么写的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号