码迷,mamicode.com
首页 >  
搜索关键字:tasks    ( 2110个结果
2D命令行小游戏Beta1.0_代码
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2D命令行小游戏Beta1_0 { class... ...
分类:其他好文   时间:2017-02-08 22:55:03    阅读次数:271
Fleck websocket官方事例
server: using Fleck;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleA ...
分类:Web程序   时间:2017-02-08 22:48:49    阅读次数:840
celery和supervisor配合使用,实现supervisor管理celery进程
在这里我选择redis作为celery异步任务的中间人,系统选择CentOS6.5 64位。redis、celery和supervisor的安装参见官方文档。 安装完毕后: 1, 创建celery的实例/home/user_00/learn/tasks.py文件 tasks.py: 2, 启动red ...
分类:系统相关   时间:2017-02-08 20:15:43    阅读次数:803
ansible-playbook 使用详解
1.playbook参数详解:hosts:hosts用于指定要执行指定任务的主机其可以是一个或多个由冒号分隔主机组。 user:root指定远程主机上执行任务的用户 remote_user:root vars:变量 tasks:任务 -name:描述 module:options 如:servericename=httpdstate=running shell:/sbin/se..
分类:其他好文   时间:2017-02-03 00:43:55    阅读次数:422
hello world
你好吗? using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Micros... ...
分类:其他好文   时间:2017-01-31 18:32:00    阅读次数:293
Ansible自动化部署之Play book的使用
一、AnsiblePlaybook的使用1、Playbook的核心元素2、Playbooks简介3、Playbook的基础(1)主机与用户(2)tasks任务列表(3)task定义示例(4)Playbook使用示例4、Playbook变量的使用(1)变量的定义示例5、Playbook中notifyh和handlers的使用.示例:触发6、Playbook中tags的使用7、tepm..
分类:其他好文   时间:2017-01-29 23:16:34    阅读次数:4384
ansible自动化部署之第三方模块添加(时间计时模块)
一、时间计时模块ansible中可以加入一个计时模块在执行ansible-playbook时显示执行时长。方便使用。1、配置方法cd/etc/ansiblemkdircallback_pluginscdcallback_pluginswgethttps://raw.githubusercontent.com/jlafon/ansible-\profile/master/callback_plugins/profile_tasks...
分类:其他好文   时间:2017-01-29 23:15:09    阅读次数:1697
C# Async和Await的异步编程例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;using System.Windo... ...
分类:Windows程序   时间:2017-01-28 18:12:48    阅读次数:282
委托的简单例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1 { class P... ...
分类:其他好文   时间:2017-01-28 18:08:25    阅读次数:253
ansible-playbook批量部署安装tomcat
tomcat安装脚本:--- -name:Tomcatinstallandconfiguration hosts:"{{host}}" user:root vars: tomcat_home:"{{tomcat_home}}" tasks: -name:absentoldtomcat file:path={{item}}state=absent with_items: -"{{tomcat_home}}" -/geelyapp/auto_scripts/tomcat.sh -name:gettom..
分类:其他好文   时间:2017-01-22 21:35:03    阅读次数:2637
2110条   上一页 1 ... 94 95 96 97 98 ... 211 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!