当前位置:网站首页>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
边栏推荐
- Paper notes vsalm literature review "a comprehensive survey of visual slam algorithms"
- POI excel percentage
- Know flex box
- On the practice of performance optimization and stability guarantee
- Centos切换安装mysql5.7和mysql8.0
- Pytest -- write and manage test cases
- A letter to graduating college students
- Chapter 8. MapReduce production experience
- Unit test framework + Test Suite
- How to plan well?
猜你喜欢

Realize PDF to picture conversion with C #

Software testing learning - the next day

My 2020 summary "don't love the past, indulge in moving forward"

Software testing assignment - day 1

Dbnet: real time scene text detection with differentiable binarization

Reading notes of "learn to ask questions"

卡特兰数(Catalan)的应用场景

vmware虚拟机C盘扩容

Software testing assignment - the next day

Winter vacation work of software engineering practice
随机推荐
Yolov2 learning and summary
Thoughts in Starbucks
Scroll view specifies the starting position of the scrolling element
[leetcode] day93 - intersection of two arrays II
Abstract learning
Simple password lock
10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”
Pytest attempts to execute the test case without skipping, but the case shows that it is all skipped
Summary of UI module design and practical application of agent mode
VMware virtual machine C disk expansion
error C2017: 非法的转义序列
Numerical method for solving optimal control problem (I) -- gradient method
vmware虚拟机C盘扩容
[untitled] 5 self use history
Use the jvisualvm tool ----- tocmat to start JMX monitoring
The pressure of large institutions in the bear market has doubled. Will the giant whales such as gray scale, tether and micro strategy become 'giant thunder'?
Yolov1 learning notes
The 10000 hour rule won't make you a master programmer, but at least it's a good starting point
[LeetCode]404. 左叶子之和
Software testing learning - the next day