Linux的一些常用的方法

定时返回某个接口,

0 8 * * * /usr/bin/curl http地址

在linux上持久执行node.js文件

nohup node index.js > myLog.log 2>&1 &

//关闭 node 服务

pkill node

laravel项目执行定时任何功能 的

* * * * * php /usr/share/nginx/html/MicroMart/artisan schedule:run >> /dev/null 2>&1

猜你喜欢

转载自blog.csdn.net/weixin_38996069/article/details/88638939