当前位置:网站首页>Crontab scheduled task
Crontab scheduled task
2022-07-03 06:55:00 【AquilaEAG】
Command crontab -e Add the following
* * * * * /usr/local/bin/php /usr/local/var/www/projectName/artisan schedule:run >> /dev/null 2>&1
The above order Crontab I'll tune it every minute Laravel Of schedule command , then Laravel Judge to perform the task .
->cron(‘* * * * *’); In the custom Cron Running tasks on a schedule ->everyMinute(); Run the task every minute
->everyFiveMinutes(); Run the task every five minutes
->everyTenMinutes(); Run the task every ten minutes
->everyThirtyMinutes(); Run the task every 30 minutes
->hourly(); Run the task every hour
->daily(); Run the mission at 0 a.m. every morning
->dailyAt(‘13:00’); Every day 13:00 Run the task
->twiceDaily(1, 13); Every day 1:00 & 13:00 Run the task
->weekly(); Run the task once a week
->monthly(); Run the task once a month
https://www.zhihuclub.com/27284.shtml
边栏推荐
- UTC时间、GMT时间、CST时间
- 熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?
- Journal quotidien des questions (11)
- Software testing assignment - the next day
- Yolov2 learning and summary
- 2022-06-23 VGMP-OSPF-域间安全策略-NAT策略(更新中)
- 修改MySQL密码
- Pytest attempts to execute the test case without skipping, but the case shows that it is all skipped
- Use the jvisualvm tool ----- tocmat to start JMX monitoring
- Summary of the design and implementation of the weapon system similar to the paladin of vitality
猜你喜欢

In depth analysis of reentrantlock fair lock and unfair lock source code implementation

熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?

10000小时定律不会让你成为编程大师,但至少是个好的起点

Yolov2 learning and summary

Liang Ning: 30 lectures on brain map notes for growth thinking

Software testing learning - day 3

Jmeter+influxdb+grafana of performance tools to create visual real-time monitoring of pressure measurement -- problem record

2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)

Summary of remote connection of MySQL

2022-06-23 VGMP-OSPF-域间安全策略-NAT策略(更新中)
随机推荐
每日刷题记录 (十一)
Shim and Polyfill in [concept collection]
Summary of UI module design and practical application of agent mode
Application scenarios of Catalan number
2022 cisp-pte (III) command execution
Paper notes vsalm literature review "a comprehensive survey of visual slam algorithms"
保险公司怎么查高血压?
What are the characteristics and functions of the scientific thinking mode of mechanical view and system view
Software testing learning - the next day
Create your own deep learning environment with CONDA
[day15] introduce the features, advantages and disadvantages of promise, and how to implement it internally. Implement promise by hand
Jenkins
File links cannot be opened or downloaded in Google browser
Derivation of variance iteration formula
POI excel percentage
【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
Golang operation redis: write and read kV data
机械观和系统观的科学思维方式各有什么特点和作用
The essence of interview
instanceof