当前位置:网站首页>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
边栏推荐
- php安装composer
- Sorting out the core ideas of the pyramid principle
- Pytorch exercise items
- [day15] introduce the features, advantages and disadvantages of promise, and how to implement it internally. Implement promise by hand
- Software testing assignment - the next day
- ssh链接远程服务器 及 远程图形化界面的本地显示
- DNS forward query:
- [LeetCode]404. Sum of left leaves
- Laravel Web框架
- In depth analysis of reentrantlock fair lock and unfair lock source code implementation
猜你喜欢
vmware虚拟机C盘扩容
机器学习 | 简单但是能提升模型效果的特征标准化方法(RobustScaler、MinMaxScaler、StandardScaler 比较和解析)
Daily question brushing record (11)
【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
Jmeter+influxdb+grafana of performance tools to create visual real-time monitoring of pressure measurement -- problem record
On the practice of performance optimization and stability guarantee
The 10000 hour rule won't make you a master programmer, but at least it's a good starting point
golang操作redis:写入、读取hash类型数据
2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)
Integration test practice (1) theoretical basis
随机推荐
卡特兰数(Catalan)的应用场景
Liang Ning: 30 lectures on brain map notes for growth thinking
Unit test notes
DNS forward query:
New knowledge! The virtual machine network card causes your DNS resolution to slow down
Redis command
10000小时定律不会让你成为编程大师,但至少是个好的起点
Learning notes -- principles and comparison of k-d tree and IKD tree
mongodb
第8章、MapReduce 生产经验
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
[C /vb.net] convert PDF to svg/image, svg/image to PDF
Unit test framework + Test Suite
Integration test practice (1) theoretical basis
IC_ EDA_ All virtual machine (rich Edition): questasim, vivado, VCs, Verdi, DC, Pt, spyglass, icc2, synthesize, innovative, ic617, mmsim, process library
Getting started with pytest
Yolov2 learning and summary
【类和对象】深入浅出类和对象
The 10000 hour rule won't make you a master programmer, but at least it's a good starting point
UTC时间、GMT时间、CST时间