HelloWorld

Home Archives
2018-12-14
Laravel

Laravel 定时任务

Ubuntu 16.04
https://laravel-china.org/docs/laravel/5.7/scheduling/2287

1
sudo crontab -e

添加如下内容:

1
* * * * * cd /var/www/data &&  php artisan schedule:run >> /dev/null 2>&1

保存并退出。

重启 cron 服务:

1
service cron restart

查看添加的定时任务:

1
sudo crontab -u root -l
Teilen
  • laravel
Neuer
微服务
Älter
Laravel Mail 配置

Kategorien

  • AI
  • Android
  • AndroidStudio
  • CSS
  • Composer
  • Deployer
  • Docker
  • Filament
  • Git
  • Github
  • HTML
  • HTTPS
  • Hexo
  • Java
  • JetpackCompose
  • Kotlin
  • Laravel
  • Linux
  • MCP
  • MySQL
  • Nginx
  • Nodejs
  • Oracle
  • PDO
  • PHP
  • PL/SQL
  • PhpStorm
  • Ubuntu
  • VMware
  • VSCode
  • VisualSVN
  • Vue
  • WAMP

Tags

  • AndroidStudio
  • CORS
  • Coil
  • GithubPage
  • Opcache
  • PhpStorm
  • VMware
  • VisualSVN
  • agent
  • android
  • android-bitmap
  • composer
  • css
  • deployer
  • docker
  • dpkg
  • filament
  • git
  • github-action
  • glibc
  • headless-chrome
  • hexo
  • html
  • ide
  • iptables
  • java
  • jdk8
  • jetpack-compose
  • jwt
  • kotlin
  • kotlin-char
  • kotlin-string
  • laravel
  • laravel-api
  • laravel-artisan
  • laravel-blade
  • laravel-collection
  • laravel-json
  • laravel-jwt
  • laravel-middleware
  • laravel-route
  • laravel-session
  • laravel-str
  • laravel-tips
  • lemp
  • letsencrypt
  • linux
  • livewire
  • memcached
  • moshi
  • mysql
  • nginx
  • nodejs
  • oci
  • okhttp
  • oracle
  • pdf
  • php
  • php-enum
  • php-fpm
  • php-trait
  • pl/sql
  • pnpm
  • ppt
  • python
  • redis
  • retrofit
  • stream-response
  • tailwind-css
  • ubuntu
  • uuid
  • vitepress
  • vscode
  • vue
  • vuepress
  • wamp
  • wsl

Tag Cloud

AndroidStudio CORS Coil GithubPage Opcache PhpStorm VMware VisualSVN agent android android-bitmap composer css deployer docker dpkg filament git github-action glibc headless-chrome hexo html ide iptables java jdk8 jetpack-compose jwt kotlin kotlin-char kotlin-string laravel laravel-api laravel-artisan laravel-blade laravel-collection laravel-json laravel-jwt laravel-middleware laravel-route laravel-session laravel-str laravel-tips lemp letsencrypt linux livewire memcached moshi mysql nginx nodejs oci okhttp oracle pdf php php-enum php-fpm php-trait pl/sql pnpm ppt python redis retrofit stream-response tailwind-css ubuntu uuid vitepress vscode vue vuepress wamp wsl

Archiv

  • 十一月 2025
  • 十月 2025
  • 九月 2025
  • 六月 2025
  • 五月 2025
  • 四月 2025
  • 三月 2025
  • 十二月 2024
  • 十月 2024
  • 九月 2024
  • 八月 2024
  • 六月 2024
  • 三月 2024
  • 二月 2024
  • 十二月 2023
  • 十一月 2023
  • 十月 2023
  • 九月 2023
  • 八月 2023
  • 七月 2023
  • 五月 2023
  • 三月 2023
  • 八月 2022
  • 六月 2022
  • 四月 2022
  • 十月 2021
  • 七月 2021
  • 三月 2021
  • 八月 2020
  • 六月 2020
  • 五月 2020
  • 四月 2020
  • 二月 2020
  • 一月 2020
  • 十二月 2019
  • 十一月 2019
  • 十月 2019
  • 八月 2019
  • 七月 2019
  • 六月 2019
  • 五月 2019
  • 四月 2019
  • 一月 2019
  • 十二月 2018
  • 十一月 2018
  • 八月 2018
  • 七月 2018
  • 六月 2018
  • 五月 2018
  • 四月 2018
  • 三月 2018
  • 十一月 2017
  • 十月 2017
  • 八月 2017
  • 七月 2017
  • 六月 2017
  • 四月 2017

letzter Beitrag

  • Office-PowerPoint-MCP-Server
  • Solving CORS Issues in Multi-Domain FilamentPHP Applications
  • PHP 使用 Headless Chrome 把 HTML 生成 PDF
  • Laravel 访问器中的值对象及性能提升
  • 基于 Laravel 的 Dimension 规则进行图像大小验证
© 2025 hefengbao
Powered by Hexo
Home Archives