Specifying which node a scheduled task runs on

In a clustered weblogic environment is there a way to tell OIM to run a scheduled task on a specific node. So for example let's say I want the AD UserTarget Recon to always only run on node1. Is there a task schedule attribute or something that controls this? Thanks in advance.

As idmgod said, there is no way of specifying this. But you can definitely enable the schedule task only on one node. If sometime your OIM shifts to other node in the cluster, you need to manually change the settings so that your schedule task is not impacted.
You may refer the following thread for configuring the scheduled task to run on one node only:
OIM Schedule task query

Similar Messages

  • Windows Server Backup scheduled task run successfully but backup do not start (not running) on Windows Server 2012

    Hi,
    A backup job has been setup on Windows Server 2012 (Platform: Win32NT; ServicePack: ; Version: 6.2.9200.0; VersionString : Microsoft Windows NT 6.2.9200.0) via Windows Backup Software UI (Local Backup 1.0).
    It is appearing as a scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup" belonging to user 'nt authority\system' in task scheduler.
    The problem is that the Backup job never start despite the scheduled task running and completing successfully (when run automatically or manually)!
    Would you be able to explain why and assist in resolving that issue?
    Here is what we know:
    When the backup is run manually via the Windows Backup Software UI, it works fine.
    When the backup is run via command line (as set in schedule task) in a cmd command prompt (as local/domain 'administrator' or as 'nt authority\system' which is possible by running command prompt via 'PsExec.exe -i -s cmd'), something like "%windir%\System32\wbadmin.exe
    start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet", it works fine.
    If you manually run the preset scheduled task while logged in as administrator, the task run and complete successfully but the backup job does not start.
    Idem if you schedule task is run automatically at scheduled time.
    The schedule task run and complete successfully but the backup job does not start.
    It is confirmed by running the following in a command prompt as 'nt authority\system':
    schtasks /run /tn "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup"
    SUCCESS: Attempted to run the scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup".
    Despite success result, the Backup job does not start running...
    No errors or warning appears anywhere in Event Logs (Microsoft > Windows > Backup or Task Scheduler) nor in the scheduled task History tab. The schedule task complete successfully but no Backup job is run...
    If scheduled task automatically set by Windows Backup software is duplicated (copied) and set manually it runs fine as 'administrator' and as 'nt authority\system' (subject that 'nt authority\system' is added to the 'Backup Operators' AD group).
    Here is an export of the current pre-set schedule task, is there any settings that need to be changed to make it works?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Author>MYDOMAIN\SERVER1</Author>
        <SecurityDescriptor>D:AR(A;OICI;GA;;;BA)(A;OICI;GR;;;BO)</SecurityDescriptor>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger id="Trigger 1">
          <StartBoundary>2014-07-14T21:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>false</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>%windir%\System32\wbadmin.exe</Command>
          <Arguments>start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet</Arguments>
        </Exec>
      </Actions>
    </Task>
    Thank you in advance for your feedback.

    Once again, the issue is not to run the backup manually from the command line but to have it run via the scheduled task setup by the Windows Backup software.
    By default, the schedule task is to be run as NT Authority\System, and when run under this account, the backup does not start (even though account is member of Backup Operators) and job can manually be run via elevated command prompt. This is not a normal
    behavior and constitute a major bug in Windows Server 2012.
    From my understanding the NT Authority\System account is a built-in account from Windows that should by default be part of the Administrators group (built-in) even though it does not explicitly appears like it in AD by default.
    This account shall have by default Administrators rights and Backup Operators rights (via the Administrators group) without being explicitly added to those groups (http://msdn.microsoft.com/en-gb/library/windows/desktop/ms684190%28v=vs.85%29.aspx). By design
    it is supposed to be the most powerful account which has unrestricted access to all local system resources. If that is not the case (as it seems) then this would constitute a major bug in Windows Server 2012 edition.
    As said previously and as you confirmed, currently by default NT Authority\System on Windows 2012 server cannot start backup manually via an elevated command prompt unless it is manually added to Backup Operators (or Administrators) group. But wouldn't that
    constitute a bug of Windows Server 2012?
    Our server has not yet been restarted since I added NT Authority\System account to the Administrators group explicitly manually so I cannot yet confirmed it would sort the issue. Indeed it is heavily in use so cannot easily be restarted. Will confirm when
    done.
    We also have an additional problem where after a while of last reboot, part of the Exchange ECP can no longer be properly loaded in the web browser due to compilation error (compilation is done via NT Authority\System account which seems to no longer have
    sufficient right to compile .NET code). What is strange is that it works at first and then stop working at some point... I am hopeful that adding NT Authority\System to the Administrators group would sort this issue as well but once again, that shall not be
    needed!!!
    Could a Windows Server 2012 update introduced some security policy changes or else that prevent NT Authority\System to have full power?

  • Exception Thrown When a Scheduled Task Runs for Many Hours

    In the Oracle documentation here (http://download.oracle.com/docs/cd/E10391_01/doc.910/e10367/toc.htm#CACGBDAD) it states that the below exception can get thrown when a scheduled task runs for many hours (on OAS) and can be ignored:
    Primary Server went down going to get a fresh object elsewhere in the cluster.
    com.evermind.server.rmi.RMIConnectionException: LRU connection
    Just want to find out from other users that get this error (If there is any), have you found the scheduled task actually completes, then the error is thrown or what?
    I just don't feel comfortable that one of our tasks is completing properly due to this exception occuring and causing the task to stop midway through processing...

    Hi,
    I've had trouble with scheduling PowerShell scripts in the past as well. You can try running your script in the SYSTEM context by launching a cmd prompt this way, just to verify that the issue isn't related to the account itself:
    http://myitforum.com/cs2/blogs/jmarcum/archive/2010/08/25/150872.aspx
    This method does require PSExec, there's a link to the tool in the post if you don't already have it on hand.
    You can also start PowerShell as SYSTEM and play around if you need to:
    http://blogs.technet.com/b/ben_parker/archive/2010/10/28/how-do-i-run-powershell-exe-command-prompt-as-the-localsystem-account-on-windows-7.aspx?Redirected=true
    Not the best answer, but hopefully it helps shed a little light on the issue.
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Specifying which node a task runs on.

    Hello all,
    Since upgrading to IdM 8.1 Patch 11, I'm noticing that idm is running scheduled tasks or bulk actions on any server that it feels like in the cluster. In prior versions these tasks would run on either the host the bulk update was launched from, or from the host specified in the tasks schedule. How do I control which node a task executes on? We keep some nodes reserved for end user access, and some nodes reserved for back end processing tasks...
    Thanks,
    Jim Beard
    University of Oregon

    Jim, this is easily managed by the use of the environment-target.properties. Change the task definition to the following:
    <Hosts>
    <List>
    <String>%%NODE_TO_RUN_TASK%%</String>
    </List>
    </Hosts>
    and add the following to each of the environment-target.properties file:
    %%NODE_TO_RUN_TASK%%=nodeToRunTask
    where the nodeToRunTask is different depending on the environment.Note that this macro-replacement is a feature of the Java plugin for IDM development (for Netbeans or Eclipse). It is not part of IdM itself.

  • Scheduled tasks run fine at first then stop running

    This has been an ongoing issue with every Server 2012 machine that we have running tasks (a buddy of mine has the same issue with 2008 R2).  At first the task will run fine as it should but then out of the blue it will simply stop running.  The
    last run time could be months ago and the next run time will be the normal scheduled time to run.  Last run result is always 0x0.  There is also nothing in the history tab as I assume it's been too long ago since the last time it ran.
    I can't figure out what's keeping these tasks from properly triggering and running.  Now before anyone starts going down a list of settings I should check that I might have goofed up, remember, these run fine at first and which jobs stop running properly
    are completely random.  Also, some of these tasks are Microsoft generated tasks like Windows Backup:
    This happens on MS tasks as well as my own tasks that run fine at first but then just stop.  The only fix on a per task basis that I've been able to come up with is to delete the job and create it from scratch where it will then work forever or get
    stuck.  It's completely random.
    I would greatly appreciate any help on this matter as it's driving me absolutely nuts.

    Hi,
    In order to solve the problem more efficiently I need to clarify some information.
    Are there any errors about the scheduled tasks?
    Here are some links below that could be helpful to you:
    Troubleshooting Task Scheduler
    http://technet.microsoft.com/en-us/library/cc721846.aspx
    Scheduled task not running on Windows Server 2008 but working on Windows XP
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/46a867a0-8432-4b90-abe3-9a5661d1b276/scheduled-task-not-running-on-windows-server-2008-but-working-on-windows-xp
    Task Scheduler did not run on the planned time. (Windows Server 2008 SP2)
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/d817535a-0210-47e9-a0fe-3c6dbf38b777/task-scheduler-did-not-run-on-the-planned-time-windows-server-2008-sp2
    scheduled task not work good on windows server 2008
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/f7baffb3-be5e-4d2d-953d-160e258089e9/scheduled-task-not-work-good-on-windows-server-2008
    Use the Windows Server 2012 Essentials Log Collector
    http://technet.microsoft.com/en-us/library/jj206706.aspx
    Best Regards,
    Amy Wang

  • How to pick which node a dbms_scheduler job runs on

    I saw a stickiness attribute that will pick the least used node. I want to pick my RAC node. is there a way to do this?

    Do you mean you want to specify the instance where your job runs on? and not let Oracle manage this based on the load?
    You can do this using database services. Define a database service as prefered on one instance and available on another instance. create your job class for the service. This way if the instance was to fail for some reason, the database service will automatically start on the other instance and the job will point to the new instance.

  • Scheduled Tasks Run Twice After Upgrade To MX7

    I've recently upgraded to CFMX7 and now my scheduled tasks
    are running twice. I've recreated all of the tasks, rebooted the
    server, and made sure that I'm on V 7.0.2 but nothing seems to
    help. Is there a solution for this out there?

    I've got a couple ideas. I haven't seen this before but this
    should be some stuff to try. There's a file in the ColdFusion lib
    directory called neo-cron.xml ... this contains an entry for each
    scheduled task.
    I'd be very careful about making any changes to this file
    directly but take a look at it. Are your scheduled tasks
    duplicated? If so you can either remove the duplicates manually if
    you're feeling brave, or try deleting the scheduled tasks in the cf
    admin and then recreate them. Perhaps that would get rid of the
    duplicates. If you don't see dupliactes in this file then somehow
    ColdFusion's process that runs the scheduled tasks is probably
    running once for the old install and once for the new one.
    Sorry I don't have any more definitive info but hope this
    helps point you in the right direction.
    -Matt MacDougall

  • Scheduled tasks run minimized

    I've created a scheduled tasks that run calc.exe or that run other .EXE's and the called .exe's do run but they run minimized.  How do I make them run so they pop up and the user see's them?  
    mqh7

    Okay, this is still not working.   Here is what I have and what I need to do.  (this is a
    Computer policy)
    EXE #1.  This will check if the machine has been rebooted or not in the past 7 days.  If not then Call EXE #2.  This is the EXE that the scheduled task will actually run.  This EXE lives on the C: drive.  
    EXE #2.  Lives on a network share that everyone has rights too.   It will prompt the user with a dialog asking them if they want to reboot now or wait 1 hour.
    I have 2 problems.  First, when I run the TS and it calls EXE #1 it only works if I'm logged on.  I need it to launch using a domain user account that has local admin rights.
    Secondly even when it all runs as my the EXE #2 does Not run on top of other apps and I need it too.   I need it to always be on top so users always seen it.
    Is all of this possible?  
    mqh7

  • [Forum FAQ] Group Policy Preferences Scheduled Tasks Item not working when the option Run whether user is logged on or not is selected

    Scenario:
    We use one of the following Group Policy Preferences Scheduled Tasks item to deploy a task to clients:
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    (Note that on some platforms, "At least Windows 7" is replaced with "Windows Vista and later.")
    After designating a user account to run the task, we select “Run whether user is logged on or not” option, and “The Do not store password…”
    check box is automatically grayed out (See Figure 1).
    Figure 1
    After finishing configuring the task item, on a client, we run command
    gpupdate/force to forcefully update group policy. However, on the client, when we check if the task is listed in Task Scheduler snap-in, the task is not displayed, and when we run
    gpresult/h report.html to collect group policy result for troubleshooting, we see an error as similar as shown in the following figure (Figure 2).
    Figure 2
    Cause:
    To make the scheduled task run whether the user is logged on or not, we need to store the password of the designated user account. However, for the content of the scheduled
    task item is stored in Sysvol where it’s not safe to store passwords, this function has been deprecated.
    Workaround:
    We can run the task with system account
    NT Authority\System, or we can use specific user accounts to run the task when the given user is logged on. (See Figure 3)
    Figure 3
    Reference:
    MS14-025: Vulnerability in Group Policy Preferences could allow elevation of privilege: May 13, 2014
    http://support.microsoft.com/kb/2962486
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hello Everyone,
    Succeeded !!!!!!!
    Even i was struggling with this same Problem to execute a batch via Window scheduler and set the setting to "Run whether the user is logged in or not".
    I tried many time but the batch runs with " Run
    whether user is logged on" and not with "Run
    whether user is logged on or not".
    what i discovered is that there was one mapped drive
    path in my batch file which was not the complete path like y:/AR.qvw actually what i did i changed that map path to the complete path like \\servnamename\d$\AR.qvw and the batch executed successfully with the setting "Run
    whether user is logged on or not"
    The
    conclusion is that check the dependency of the script on external resources because when you check this option "Run
    whether user is logged on or not" It actually conflicts. This my discovery.
    If
    you have any question write me on [email protected]
    Thanks
    & Regards,
    Arun

  • Server 2012 Scheduled tasks not running after DST

    Since the DST change this weekend the weekly scheduled tasks on our 2012 standard server are not running.  The schedule show the correct next run time, but the task never runs.  The server correctly adjusted for the DST changes (We are in CST in
    the US) and if you look in the date time it notified us that the clock was set forward.
    Any ideas?

    Hi Mark,
    Before going further, would you please let me confirm whether only weekly scheduled tasks t run? In other words,
    did some daily scheduled tasks run smoothly?
    Based on current situation, please create a new weekly
    scheduled task and check if encounters the same issue.
    If this issue still persists. Please let me confirm if you make scheduled task run some commands or a script,
    or others I misunderstand. For an example, if run a script, please directly run it in the Windows Server 2012 Standard and check if there any issue occurred.
    Meanwhile, please open Task Scheduler, select this problematic weekly scheduled task, click General tab. Please
    check which user account was used to run this task. And please check Run with highest privileges, then check if can solve this issue.
    In addition, please check History tab in task Properties. Please pay attention on the time-point when the weekly
    scheduled task should be ran, and check if you can find some events at that time-point. It may help us to go further analysis.
    By the way, there is a similar thread. Please refer to.
    Certain scheduled tasks do not run anymore after DST change
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/47483baf-e7af-4bff-9db4-9c3d0ead2b41/certain-scheduled-tasks-do-not-run-anymore-after-dst-change?forum=winserver8gen
    Hope this helps.
    Best regards,
    Justin Gu

  • Question on Cimsession code running as Schedule task

    #I have a scheduled task running that calls a ps1 file to collect zone data. The task is set to run whether I'm logged in or not. I noticed that if I add -Cimsession to the code, it will only collect the data when I'm logged onto the machine where the Scheduled
    task is running from.
    Get-DnsServerStatistics -CimSession (Get-Content c:\serverlist.txt) -ZoneName test.local | Out-File -Append test.local.csv
    #However, when I change the code from -Cimsession to foreach, it collects data even if I'm not logged in. Is this an expected behaviour?
    foreach ($server in Get-Content c:\serverlist.txt) { Get-DnsServerStatistics -ComputerName $server -ZoneName test.local | Out-File -Append test.local.csv }
    99upgrade

    It is a sched task issue and not a scripting issue.  Post in the windows forum for guidance on creating tasks.
    Run when logged on is an option.  Uncheck it.
    ¯\_(ツ)_/¯

  • How to make Robocopy run in the foreground using Scheduled Tasks

    Hello everyone! 
    I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
    Here is the script:
    date /t >> log.txt
    time /t >> log.txt
    ROBOCOPY \\CENTURY1\d$\ f:\  /MIR /R:0 
    time /t >> log.txt
    This topic first appeared in the Spiceworks Community

    Hello everyone! 
    I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
    Here is the script:
    date /t >> log.txt
    time /t >> log.txt
    ROBOCOPY \\CENTURY1\d$\ f:\  /MIR /R:0 
    time /t >> log.txt
    This topic first appeared in the Spiceworks Community

  • Any alternative beside CF Administrator scheduled task?

    My scheduled tasks unable to run on CF9 but when I browse in IE it's working fine.
    I believe CF9 scheduled task very sensitive on the code as I tried to remarks on some coding its working fine.
    When I removed the remarks it unable to process.
    Any help on this? Is there any other way to run a schedule without using CF Administrator?
    Best regards,
    Eric

    Eric, is there any chance that the page you're running successfully in IE works because you were prompted at some point for a web server username/password? The browser will cache that for subsequent requests. If the page requires such security, you must specify it in the scheduled task definition.
    There is also available logging of scheduled tasks (on the Logging Settings page in the CF Admin), which creates a new log in the \logs directory (also accessible from the CF Admin Log Files page), which may give you more insight into what's not working.
    Finally, yes, you could always an alternative to CF's scheduled tasks, in the Windows scheduled task feature (available in all versions of Windows). The problem is how to execute a CFML page. There used to be a cfml.exe program in the \bin (prior to CF 6) that allowed you to execute CFML pages from the command line. That's no longer offered.
    But you could call the pages using a command-line equivalent of a browser. One such solution is wget. I did a blog entry on this several years ago when I worked with BlueDragon, but the concept applies just as well to CF:
    http://bluedragon.blog-city.com/executing_cfml_from_the_command_line_or_where_did_cfmlexe_ go.htm
    Others may have still other suggestions.
    But really, see first if you can in fact get it to work as a CF scheduled task. There's usually an explanation and a solution. Hope that helps.
    /charlie
    Providing CF troubleshooting services at carehart.org/consulting
    [email protected]

  • Scheduled Task - 403 Error

    Hi,
    We've had our site up for several years now, and haven't had
    any problems with Scheduled Tasks.
    On July 1st, our websire went PKI certificate only. Now
    scheduled tasks don't run and I see several entries like this in my
    scheduler log:
    "Information","848","07/05/06","15:35:55",,"Scheduled task
    'Run It' for URL request 'https://****.cfm' initiated."
    "Error","3064","07/05/06","15:35:55",,"Status code for task:
    'Run It' is '403 Forbidden'"
    "Information","848","07/05/06","15:35:55",,"Scheduled task
    'Run It' for URL request 'https://****.cfm' completed."
    Is there any setting I can set in each Scheduled Task or
    setting on the server I can run to get around this?

    An update, in case someone got the same error.
    I just changed the file resources.xml which is located in a folder under WAS_HOME.
    Old value: name="ProviderEndpoints" type="java.lang.String" value="Default"
    New value: name="ProviderEndpoints" type="java.lang.String" value="<your hostname>:7289:BootstrapSecureMessaging"
    At least, the error is not being logged anymore.

  • SCCM 2007 query to find Scheduled tasks setup on a client.

    Hello all,
    I have been asked by senior management at the school where i work to automate the shutdown of PCs at a specific time each night.
    So I created a batch script that sets up a scheduled task on the clients to do this, and rolled it out via software distribution.
    How would I go about creating a query to check which machines do not have the scheduled task?

    We are needing to change passwords on ALL our Service Accounts.  Was able to pull out the services being started by a Service Account, but...also need to look for scheduled tasks run by Service Accounts...that link you sent doesn't seem to show the
    Run As name?
    Thanks.

Maybe you are looking for

  • How to get the localization in adf

    Hi Experts, Can you please tell me how to achieve the localization in adf application.?? I want it to support for based on locale.. Can you please tell me the procedure.... I am using jdev 11. Here I need localization in VO layer.not using resource b

  • WebLogic 10: Custom Tag type conversion issue

    I have a tag file wherein I define an attribute to be of type "mypackage.SuperClass". At runtime this tag gets passed an instance of "mypackage.SubClass" where SubClass is a sub-class of SuperClass.           Now this should and does work fine in Web

  • Ntp-once.service fails [solved]

    I'm trying to set up the oneshot ntp time sync as described in the arch wiki https://wiki.archlinux.org/index.php/Ne … col_daemon I believe I have /etc/ntp.conf configured correctly, because when I manually run >sudo ntpd -gq I get: ntpd: time set -7

  • Standard SD Reports under sales information syatem

    Hi, How to configure Standard SD Reports which fall under sales information system.Kindly tell me the process of configuring these reports in detail in SPRO Regards Rahul

  • CFSELECT with 1000 options?? Ajax??

    Can anyone tell me how to handle this situation? I want to include information about the bands in a music calendar w/o having to re-enter the band websites or descriptions for each entry. So the bands have their own table. The idea for data entry is