当前位置:网站首页>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
边栏推荐
- mysql误删root账户导致无法登录
- Pits encountered in the use of El checkbox group
- Practical plug-ins in idea
- 2022-06-23 VGMP-OSPF-域间安全策略-NAT策略(更新中)
- Scroll view specifies the starting position of the scrolling element
- Win 10 find the port and close the port
- 10000小时定律不会让你成为编程大师,但至少是个好的起点
- Application scenarios of Catalan number
- 修改MySQL密码
- Reading notes of "learn to ask questions"
猜你喜欢

Use the jvisualvm tool ----- tocmat to start JMX monitoring

Local rviz call and display of remote rostopic

HMS core helps baby bus show high-quality children's digital content to global developers
![[untitled]](/img/72/4ff9354634342580a135debb58b60e.jpg)
[untitled]

100000 bonus is divided up. Come and meet the "sister who braves the wind and waves" among the winners

Personally design a highly concurrent seckill system

Practice of enterprise ab/testing platform

这两种驱蚊成份对宝宝有害,有宝宝的家庭,选购驱蚊产品要注意

The 10000 hour rule won't make you a master programmer, but at least it's a good starting point
![[5g NR] UE registration process](/img/e3/f881d51fba03010de8c45ea480f3f0.png)
[5g NR] UE registration process
随机推荐
Summary of the design and implementation of the weapon system similar to the paladin of vitality
Journal quotidien des questions (11)
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
Laravel框架 踩坑(一)
How can the server set up multiple interfaces and install IIS? Tiantian gives you the answer!
Resttemplate configuration use
instanceof
error C2017: 非法的转义序列
These two mosquito repellent ingredients are harmful to babies. Families with babies should pay attention to choosing mosquito repellent products
Derivation of variance iteration formula
熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?
Code management tools
A letter to graduating college students
Arctic code vault contributor
保险公司怎么查高血压?
My 2020 summary "don't love the past, indulge in moving forward"
每日刷题记录 (十一)
爬虫代码基础教学
Integration test practice (1) theoretical basis
Example of joint use of ros+pytoch (semantic segmentation)