agent

How to find all SQL Agent Jobs that call a given stored-proc

て烟熏妆下的殇ゞ 提交于 2019-11-30 08:17:48
I'm in SQL 2008/R2. I want to run a query to see if there is a SQL Agent job calling a specified stored proc (there are too many to inspect manually). Here is a query that will give you that and more (look at the WHERE clause for the stored proc name): SELECT [sJOB].[job_id] AS [JobID] , [sJOB].[name] AS [JobName] , [sJSTP].[step_uid] AS [StepID] , [sJSTP].[step_id] AS [StepNo] , [sJSTP].[step_name] AS [StepName] , CASE [sJSTP].[subsystem] WHEN 'ActiveScripting' THEN 'ActiveX Script' WHEN 'CmdExec' THEN 'Operating system (CmdExec)' WHEN 'PowerShell' THEN 'PowerShell' WHEN 'Distribution' THEN

Passing ACL messages between jade remote platforms

ぃ、小莉子 提交于 2019-11-30 04:08:15
I need to pass an ACL message between 2 jade platforms. I implemented my code to pass messages between agents in the same container. That works fine. But I could not develop that code to pass messages between remote platforms. Below is what I implemented for the agents in the same container. In the sender agent code the result[] only gets the agents in the same platform. What am I missing? Is there any method to get the list of agents in the remote platform? Sender agent DFAgentDescription temp = new DFAgentDescription(); try { //DFAgentDescription[] result = DFService.search(this,temp);

Android Generic User Agent (UA)

人走茶凉 提交于 2019-11-29 12:32:36
问题 I am building an Android app to display content feed from a server. The server is a mobile website (like http://m.google.com) which tracks the traffic from various mobile clients. To differentiate an Android client, how do I provide a generic string for my app? Here's why I ask that: Some of the Android devices I got have UA strings like: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; ADR6400L 4G Build/FRG83D) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Mozilla/5.0

How to find all SQL Agent Jobs that call a given stored-proc

廉价感情. 提交于 2019-11-29 11:26:11
问题 I'm in SQL 2008/R2. I want to run a query to see if there is a SQL Agent job calling a specified stored proc (there are too many to inspect manually). 回答1: Here is a query that will give you that and more (look at the WHERE clause for the stored proc name): SELECT [sJOB].[job_id] AS [JobID] , [sJOB].[name] AS [JobName] , [sJSTP].[step_uid] AS [StepID] , [sJSTP].[step_id] AS [StepNo] , [sJSTP].[step_name] AS [StepName] , CASE [sJSTP].[subsystem] WHEN 'ActiveScripting' THEN 'ActiveX Script'

Passing ACL messages between jade remote platforms

对着背影说爱祢 提交于 2019-11-29 02:00:17
问题 I need to pass an ACL message between 2 jade platforms. I implemented my code to pass messages between agents in the same container. That works fine. But I could not develop that code to pass messages between remote platforms. Below is what I implemented for the agents in the same container. In the sender agent code the result[] only gets the agents in the same platform. What am I missing? Is there any method to get the list of agents in the remote platform? Sender agent DFAgentDescription

Starting/stopping a launchd agent for all users with GUI sessions

喜欢而已 提交于 2019-11-27 22:20:47
I need to be able to start/stop a per-session GUI agent from a root level daemon. Similar issues are discussed here , here and here . What I want to be able to do is basically for num in `ps ax | grep [s]bin/launchd | cut -c 1-5`; do if [ $num -ne 1 ]; then sudo launchctl bsexec $num launchctl (un)load -S Aqua /Library/LaunchAgents/com.mycompany.mydaemon.plist; fi; done but this only starts/stops one instance and it runs as root in the current GUI session. If I leave the sudo off there start I get task_for_pid() (os/kern) failure Couldn't switch to new bootstrap port: (ipc/send) invalid port

Clojure differences between Ref, Var, Agent, Atom, with examples

◇◆丶佛笑我妖孽 提交于 2019-11-27 10:00:31
I'm very new to Clojure, Can you guys give me explanation with real world scenarios. I mean, where to use Ref, Var, Agent, Atom. I read book, but, still couldn't understand the real world examples. Arthur Ulfeldt I highly recommend "The Joy of Clojure" or "programming Clojure" for a real answer to this question, I can reproduce a short snip-it of the motivations for each: start by watching this video on the notion of Identity and/or studying here . Refs are for Coordinated Synchronous access to "Many Identities". Atoms are for Uncoordinated synchronous access to a single Identity. Agents are

docker搭建consul集群

[亡魂溺海] 提交于 2019-11-27 07:24:53
背景:ubuntu64位18.04.1版,docker19.03.0 GitHub资料: https://github.com/docker-library/docs/tree/master/consul Docker Hub镜像资料: https://hub.docker.com/_/consul 一、获取镜像 1. 拉取consul镜像 docker pull consul 2. 查看镜像列表 docker images 二、开发环境(This runs a completely in-memory Consul server agent with default bridge networking and no services exposed on the host, which is useful for development but should not be used in production. ) 1. 启动consul(配置单节点) docker run -d -p 8500:8500 --name=dev-consul -e CONSUL_BIND_INTERFACE=eth0 consul 2. 查看consul在容器中的ip docker exec -t dev-consul consul members 3. 将节点添加到consul服务中

Starting/stopping a launchd agent for all users with GUI sessions

故事扮演 提交于 2019-11-26 23:10:17
问题 I need to be able to start/stop a per-session GUI agent from a root level daemon. Similar issues are discussed here, here and here. What I want to be able to do is basically for num in `ps ax | grep [s]bin/launchd | cut -c 1-5`; do if [ $num -ne 1 ]; then sudo launchctl bsexec $num launchctl (un)load -S Aqua /Library/LaunchAgents/com.mycompany.mydaemon.plist; fi; done but this only starts/stops one instance and it runs as root in the current GUI session. If I leave the sudo off there start I

Clojure differences between Ref, Var, Agent, Atom, with examples

只谈情不闲聊 提交于 2019-11-26 17:53:56
问题 I'm very new to Clojure, Can you guys give me explanation with real world scenarios. I mean, where to use Ref, Var, Agent, Atom. I read book, but, still couldn't understand the real world examples. 回答1: I highly recommend "The Joy of Clojure" or "programming Clojure" for a real answer to this question, I can reproduce a short snip-it of the motivations for each: start by watching this video on the notion of Identity and/or studying here. Refs are for Coordinated Synchronous access to "Many