小编kri*_*thi的帖子

如何在服务器上使用调度程序自动运行Node js脚本

我已经使用express环境创建了一个nodejs文件,并使用nodemon在服务器上运行该文件。当前,我必须向界面提供命令以在nodemon上运行特定文件,但是我目前需要的是安排任务,以便在一天之内多次在服务器上自动运行该文件。

我的文件在终端上这样执行::

nodemon example_api.js
Run Code Online (Sandbox Code Playgroud)

输出端子:

    root@*********:/var/www/example project# nodemon example_api.js
[nodemon] ##.##.#####
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node api.js`
Listening on port 8080
Run Code Online (Sandbox Code Playgroud)

注意:我目前正在使用Windows在Mobaxterm终端上运行node js,但我的文件将在具有linux接口的服务器上运行

linux scheduler scheduled-tasks node.js server

3
推荐指数
1
解决办法
4481
查看次数

在Google Play服务中找不到FusedLocationProviderClient

我想通过以下链接使用Xamarin的Google Play服务定位服务:

https://docs.microsoft.com/en-us/xamarin/android/platform/maps-and-location/location

IsGooglePlayServicesInstalled函数返回true,并安装了Xamarin.GooglePlayServices.Maps.

我究竟做错了什么?

android google-api xamarin google-play-services google-location-services

0
推荐指数
1
解决办法
752
查看次数