Earlier today, a disabled scheduled agent ran on the indicated server where it would run. Note that the actual agent design element resides in a different server, also, the date where it would run is not specified.
It's function is to send an email to specific users. Upon checking the email, the sender some colleague (but the last modification date of the agent is way back 2014).
I'd like to ask if there's any way that a disabled agent would run without actually enabling it?
Also, is there a way where I can see who triggered the agent? I checked in the "Agent -> Log" but it did not indicated who ran the agent.
I also checked in the log.nsf (where the agent resides) but log is not there. I can't check in the indicated server where the agent ran because it's no longer existing.
Thanks!
There are at least four ways to run an agent that come to my mind, and there for sure are more:
You can run every agent just with a right- click in the designer and then "Run".
You can run an agent with Formula code:
#Command([ToolsRunMacro] ; "NameOfYourAgent" )
#Command([RunAgent] ; "NameOfYourAgent" )
Or with LotusScript- Code:
Set agent = db.GetAgent( "NameOfYourAgent" )
Call agent.Run()
'- or
Call agent.RunOnServer()
You can run it using a server console command:
tell amgr run "path\nameofyourdatabase.nsf" 'NameOfYourAgent'
(double quotes and single quote has to be mixed for this)...
So: just that an agent is disabled does not mean it cannot be run...
Related
I have a Web activity that performs a GET operation to an endpoint. I have set it up to do something On Failure (which works just fine) and another set of action upon Success. But this last part gets skipped entirely even though the output of the Web action is Succeeded.
Here is shown the succeeded status and my config
enter image description here
I tried removing and re-adding the On Success connector, but yielded no different results.
Based on your flow, it would never proceed ahead:
Because as per your logic to proceed to the Set run time, Web activity 1 AND Web activity 2 should be success but that can never be the case since web activity 2 can be a success only if web activity 1 has failed thereby not proceeding further.
The below blog explains how to handle this :
https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activities-in-azure-data-factory/
Both dependencies of set runtime status cannot end as succeeded. You need to use a combination of skipped/completed states: https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-failure-error-handling
From the pipeline image , I think it should move on with success .
Can you please cross check what is status code of web activity and is it returning something back ? Is the status code be 2xx ? If I were you could have tried to check with the "Upon Completion" option and see it works .
Is it possible to add a setting on Cronitor that sends an email once a cron job succeeds. Right now I only get email if a cron job fails.
This is what i have at the moment :
Alert preferences Failure tolerance Duration alerts
Alert notes
(X) Send alerts any time there is a problem
() Only send alerts if my job has consistently not run when expected...
I tried to email/contact support but now answer from Cronitor yet.
I'm one of the creators of Cronitor. I'm really sorry we somehow missed your support inquiry.
The answer is that, yes, this is possible but you cannot set this up without an API call. After the initial setup is complete (and the new alert rule is added) you can continue managing the monitor from the dashboard.
If you email support#cronitor.io again with specifics I can help you with adding this rule via the API.
I want to figure out if my compatible agents from a specific agents pool are idle or not at real time for case i want to explicitly choose only idle agents to run via API.
Thanks
Just run the build and TeamCity automatically select available agent.
TeamCity has some API for getting agent information
List agents (only authorized agents are included by default): GET http://teamcity:8111/app/rest/agents
List all connected authorized agents: GET http://teamcity:8111/app/rest/agents?locator=connected:true,authorized:true
List all authorized agents: GET http://teamcity:8111/app/rest/agents?locator=authorized:true
List all enabled authorized agents: GET http://teamcity:8111/app/rest/agents?locator=enabled:true,authorized:true
List all agents (including unauthorized): GET http://teamcity:8111/app/rest/agents?locator=authorized:any
You can check needed agent by url
enter link description here
And then check property build in response. If it's in idle state then build will be undefined.
I have several tasks in Windows 10 that have recently failed. I've made no recent changes to the server. The tasks were working fine for years, and then started failing in December of 2017. I have the Scheduler tasks configured to run on System Startup.
When I check the History tab, I see:
Task Start Failed error: Additional Data: Error Value: 2147943712.
The task/General Tab is configured as follows:
Run whether user is logged on or not
Do not store password.
Run with highest privileges
Configure for Windows 10
The user account is "Admin". That user has no password and is an administrator.
When I try to Run the task from the Selected Item / Run option, the scheduler logs the same error. Based on other posts, I've tried to edit the User Account, re-typing Admin and pressing the Check Names button. It shows the SERVERNAME\Admin, and does not prompt for a password.
How can I configure the task manager so that it does not produce this error?
The error code returned (0x80070520 in hex) is "A specified logon session does not exist. It may already have been terminated."
According to this technet blog entry, the solution may be to disable the security policy which prevents local storage of passwords.
Regarding your error, try to take this measure. Hope this help.
To fix this up Change the following Registry key to value 0x0
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
Value Name: disabledomaincreds
Value Type: REG_DWORD
Values: 0 (allow domain credentials to be stored)
I can't enter a race, I always get an error saying "Unable to enter on "
Is there an place where I can get any log info?
Any other sugestion?
A couple of things to check:
What server are you trying to race on?
What AI are you trying to race with? Intermediate or Agent?
On the enter race window does your username appear on the bottom left next to a logout button?
The most likely cause of this is either you are not logged in (this should give a different error) or you are using an agent on a local Liberty server and something is preventing the server from starting. If it is an agent AI then you may see errors in your local Eclipse console - to make it visible in the code rally perspective go to window>show view>console. Any log output from the local Liberty server and your AI code will appear there, including any error messages.