Is it possible to programatically enable/disable a schedule?

Hi,
I'm looking for a way to start and stop an existing schedule based on certain criteria.
Is it possible to enable/disable a schedule programatically, from within an Action block?  Calling an HTTP URL for example?
Thanks.

Hi,
One solution would be using the Illuminator service for this:
First execute the Scheduler service with list mode (using XML query or HTTP Post action) as :
/XMII/Illuminator?service=Scheduler&mode=List
This will give you the list of the available scheduler configurations in the system along with the corresponding Job ID. Use XPath in BLS to retrieve the JobID from the list by the Scheduler Config name.
Next execute the Scheduler service with Disable mode passing the JobID retrieved from :
/XMII/Illuminator?service=Scheduler&mode=Enable&ID=<JobID>
This will disable that particular scheduled job. To enable it use the same service with Enable mode:
/XMII/Illuminator?service=Scheduler&mode=Disable&ID=<JobID>
Hope this helps.
Thanks,
Dipankar

Similar Messages

  • Programatically enable-disable check box"play user interface sound effects"

    Hello All,
    I have been Working on something where i need to disable the "play user interface sound effects" check box ( Under System preferences under sound panel ) for few seconds and then enable the same programically without any user interface appearing on the screen. I know something related using the Applescript however there is a user interface appearing there which doesn't serve the purpose please help with some solution.If you could provide the exact location of the plist file which holds this information then that could help as well.

    Hi !
    I too have been working with the sounds ( Which i think is relates to @mit's query ) in an application and the problem is that when ever that application moves something to trash there is a sound which comes the sound of "throwing things in the trash". This is very annoying and i want to do something so that I can suppress that sound atleast for the time this application is on. Now is there some way where I can do this Programically . It would even be fine if I could turn off the user interface sounds completely for sometime and then bring them back on.
    Thanks In Advance !
    Looking Forward To Some response soon !
    iMAC G4   Mac OS X (10.4)   Power PC 256 MB RAM

  • Programmatically enable/disable application scrollbars

    Hi,
    At present I need to modify some of our custom tools in LabVIEW 2010 to work on lower resolution screens. The automatic rescaling functionality is not really an option as it distorts most UI features. I have looked at adding a vertical/horizontal scrollbar to the application and this appears to do what I need reasonably well. Unfortunately for those who do have the high resolution screens, I don't really wish for the scrollbars to be enabled. Is there a way of programatically enabling/disabling the vertical or horizontal scrollbar of an application? I can see this being possible on the controls, but haven't found the option for the actual application.
    Thanks in advance for any help you can offer.
    Regards,
    Shane 
    Solved!
    Go to Solution.

    Hi!
    I'm glad you sorted it out 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • Is it possible to enable / disable personal hotspot through MDM?

    Is it possible to enable / disable personal hotspot through MDM?

    If you are using the Smartbar you just enable or disable the relevant Menu Item using SET_MENU_ITEM_PROPERTY and that will automatically enable or disable the corresponding Button.
    (you will need to use the Menu module menudefs.mmb which is a MMB version of the standard menu and smartbar and from that you can get the names of all the menu items.)
    If it is a normal toolbar canvas with buttons on it you can use SET_ITEM_PROPERTY to enable and disable the buttons

  • Enable/Disable a ldap account programatically

    What I am trying to do is to enable/disable an account on iPlanet server through our application using LDAP API.
    I know that I have to set a value to nsaccountlock operational attribute to activate/inactivate the account. However, I looked at the inactive Perl script on the server and it seems to add nsRoleDN and nsRole to this account as well.
    Now I could do the same thing as the Perl script on my appliation, but my question is how do I know which Role do I use to add to the account I want to enable/disable? I know that the default role is nsManageDisableRole, but how about the admin change this Role name or using different role? Is there a way to detect the role?
    Thanks

    You cannot change the role name. If you want to use the same account activation scheme as used by the console and the perl script command lines, you must use the exact same names for roles, etc.
    If you don't care about using the console or the command lines to manage roles, you can use any scheme you like, but you cannot mix and match the two schemes.

  • Is it possible to enable/disable font antialiasing ONLY in LO?

    I've got a question: Does the option marked in the picture with a red line work for you? I mean: Can you enable/disable LO font AA using this "tick" in Options/Libreoffice/View?
    I'm asking because in my case it changes absolutely nothing and I have no idea whether it's my "fault" or a common problem (bug?) in LO. Can I somehow figure that out? If so, then how can i do it?
    Last edited by Hwiparam (2014-11-07 13:34:34)

    drcouzelis wrote:Even so, I'm sure there's a way to force fontconfig to use special settings for just LibreOffice. (Although I have no idea how that's done.)
    Yesterday evening I did some googling, however with little result (actually no clear answer so far) If this option does not work for you as well, I think there is a problem with LO, not with my settings.
    Maybe some day I will find a way to use fontconfig for that, as you described Or I'll report a bug to the developers. But now I have little time to waste and I've already wasted it too much on this "problem" Thanks.

  • Enable/disable/defaulting the radio button in tabular Form

    Hi friends,
    I have one radio button column in my tabular form with 3 values for it.
    <li>FC
    <li>BC
    <li>EC
    I need to enable/disable the radio buttons according to the position of the user.
    If the position of the user is CEO means,
    then FC radio button has to be checked defaultly and also for him he needs to have BC and EC radio buttons to be enabled.
    If the position of the user is between(1-4) grades means,
    then FC radio button has to be disabled, but BC radio button has to be checked defaultly and also for him he needs to have EC radio buttons to be enabled.
    If the position of the user is between(4-6) grades means,
    then FC, BC radio button has to be disabled, but EC radio button has to be checked defaultly.
    How i can achieve this radio button enabling/disabling and defaulting it dynamically according to the user.
    Where i need to specify this kind of restriction inorder to work for me in my application.
    Brgds,
    Mini

    Hi Bob,
    thanks for your reply first, and your suggestion too.
    I tried in the below manner on the lov definition of my radio button and it hide/shown according to the user who logs into the application.
    SELECT 'FC' d, 'FC' r FROM DUAL WHERE lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO')
    UNION ALL
    SELECT 'BC' d, 'BC' r FROM DUAL WHERE lower(:APP_USER) IN (select lower(user_name) from apps.xxhy_ams_details_v where grade_name
    BETWEEN 1 and 4 OR lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO'))
    UNION ALL
    SELECT 'EC' d, 'EC' r FROM DUALBut how i can check the radio button defaultly according to the user who logs in .
    <li> If the employee with the position CEO logs into the application means, he needs to have FC to be checked defaultly.
    <li> If the employee with the grade between(1-4) logs into the application means, he needs to have BC to be checked defaultly.
    <li> If the employee with the grade between(5-12) logs into the application means, he needs to have EC to be checked defaultly.
    Note:
    Instead of hide/show the radio buttons defaultly whether it is possible to enable/disable the radio button according to the user who logs into the application.
    Brgds,
    Mini...

  • How to enable / disable SSRS Parameter

    Hi
    I want to enable a parameter called "start date" (type is date) when another (value from dropdown) parameter is selected
    Say for an example, i have below 3 parameters
    1. drop down which 2 values called "vtextbox","vdate"
    2. start (data type is date)
    3. finish (data type is date)
    when i select "vdate"value from the dropdown 2nd and 3rd parameters has to be enable
    similarly when i select "vtextbox" value from the dropdown 2nd and 3rd parameter has to disable
    I have searched many forums every one says this is not possible in report manager interface
    But this is possible in custom code
    please make a note all three parameters are independant
    It would be great if any one provide the custom code for same
    Regards
    Santosh

    Hi itsmesantosh1982,
    According to your description, you want to use a parameter to control enable/disable other two parameters. Right?
    In Reporting Services, when we create a parameter, this parameter has been enabled. The only way you want to disable the parameter is deleting it. In this scenario, disable the two parameter is same as selecting all values in these two parameters. So
    we can just modify the default values in 2nd and 3rd parameter instead of using cascading parameter. We can create a dataset, put in the query below:
    IF @Param='vtextbox'
    select distinct startdate from [table]
    else
    select '[value]'
    The [value] can be any value which is not existing in [table]. So when you select 'vtextbox', the default value will be all values in the table. If you select 'vdate', it will need you to select value automatically because the return value is not existing
    in the table. This can be an effective workaround for your requirement.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Enabling/Disabling PDF in Browser Option (Acrobat XI)

    Firstly, know that yes I understand that this setting is no longer found in and handled by Acrobat XI and that to enable or disable PDF in browser setting you enable/disable the add-on in IE (or other browser).
    In the hopes of making it more straightforward and convenient for users to toggle this setting, one option is being explored to create a custom Javascript action in Acrobat to write to the user registry to turn this on/off.
    Is this feasible? Can Acrobat JavaScript actions read and write to the user's registry? As we have a collection of users that need to regularly toggle this setting (for reasons I won't go into here), it would be ideal to have an easy and straightforward means to change this setting. One possibility might be a custom Acrobat JavaScript action.
    Thoughts, suggestions, ideas?
    Thank you

    Thank you. Forgive me but I want to make absolutely certain...in no way can a custom Acrobat JavaScript action change the user's registry. Is this correct? A pointer to official documentation stating such would be excellent. I have to convince someone not easily convinced

  • Cl_wd_table - enable/disable certain cells

    Hello together,
    I'm looking for a good solution to enable/disable certain cells in a table.
    For example I have the following table (the real table is more complex - with buttons and so on...):
    User
    ToDo
    State
    A
    Todo1
    Done
    B
    Todo2
    In Process
    A
    Todo3
    In Process
    B
    Todo4
    Done
    I have different users which are working on this tabe:
    - Administrator: Can edit whole table (except State column)
    - Employee: Can only edit State Column where he is assigned
    I think it would be difficult to work with context attributs in this case?
    Is it possible to Loop over all table lines an set "enabled" Attribut in the coding?
    Best Regards

    Hi Uwe,
    Check this below links
    How to edit conditionally row of a ALV table in Web Dynpro for ABAP
    ABAP WebDynpro: Can edit a cell in a column?
    Thanks
    KH

  • How to make the checkbox field as enabled/disabled?

    HI,
    i want to enable/disable the checkbox
    at run time??
    is it possible to do it??

    Hi user10185229 ,
    You can do this with SPEL.
    Thanks.....

  • Screen Personas 2.0 Enable/Disable script button in Javascript

    Hi,
    Has anyone tried enabling or disabling script buttons on a flavor using Javascript. I have two script buttons,
    The first one (Button1) searches for a contract based on the contract id provided by the user in a text box. (So, the script triggers the transaction me33k, fetches and displays the relevant fields in the flavor)
    Now, based on whether the contract is present in the system the user needs to click another script button (Button2) which will allow him to create an order. Currently the button is disabled (ScriptButton.IsEnabled = false in the Properties menu).
    In the Button1 script towards the end, I need to enable Button2 is a contract is found. So in the Button1 script, at the final step I try to calculate in JS and write the following JS code,
    var args.btn2id = document.getElementById("Personas/blahblahblah");
    args.btn2id.disabled = false;
    But this is never works. And I have noticed that the control id does not return the control object in Javascript (so, args.btn2id is always null) and I tried removing the '/' and various other options.
    Has anyone ever tried to enable/disable buttons in Personas? Is it even possible?
    Abhijeet

    You don't have access to the Personas control properties from JavaScript to dynamically change them.
    About the only thing that comes to mind is Tobias' method to hide the script button if you want to disable it.

  • Hide/show or enable/disable report column

    Hi,
    I m using Oracle Apex4.0
    I m having an interactive report which has a cloumn with Link provided to it.
    I want to enable/disable the linked cloumn for certain records or else the link column can ba hidden/shown for certain records.
    How can it be done?

    Hi,
    Did you look at the Denes example ? It looks as good solution for you.
    Is your report in format like this ?
    col_1 col_2 col_link
    col_1 - column1
    col_2 - column2
    col_lnk - column with link
    in the link there is some redirection to detail page where you can provide update ?
    the link should contains record ID. correct ?
    The only possibility in your case is Denes or some other simple solution. (case solution)
    It should be good if you reproduce it on apex.oracle.com
    We can provide more help to you in there.
    Regards
    J :D

  • Script to enable/disable audio/videotracks

    Hi,
    Trying this:
    function SwitchOffVideoOutput (vtracks,activeSeq)
           var active_seq = activeSeq;
           var videotracks = active_seq.videoTracks;
           alert("numTracks: "+ videotracks.numTracks);
           track = vtracks.split("|");
           for (i=0; i <= track.length; i++) {
          alert("Switching off: "+ track[i]);
          // Would like to do something like this:
          // videotracks[track].enabled=false;
          // videotracks[track].output=false;
          // Renaming sequence from A to B
          tmp = active_seq.name;
          tmp = tmp.replace("_A","_B");
          alert(tmp);
          //active_seq.name = tmp;
    SwitchOffVideoOutput ("2|3|4",app.project.activeSequence);
    // But also would like to do this:
    var myColl = app.project.selection;
    for (i=0; i <= myColl.length; i++) {//loop through the project
         alert(myColl.name)
         SwitchOffVideoOutput ("2|3|4",myColl.name);
    // SwitchOffVideoOutput and rename selection in Premiere Pro

    Although you can set or remove the Dark interface style with defaults write syntax, the reset back to default (non-dark) interface will require a log-out/log-in cycle to entirely remove the Dark style. Toggling this style on and off in the System Preferences > General panel does not require the preceding log-out disruption. Unfortunately, other than possible GUI scripting, the Apple Script dictionary in Yosemite is very limited with respect to System Preferences access, and enabling/disabling the dark interface style.

  • WLAN automatic enable/disable?

    Hello:
    I have a WCS 4400 system and run 3 seperate WLANs: 2 WPA secured networks and 1 open, using LDAP authentication.
    Is it possible to schedule, or script, one of these WLANs to automatically disable at 8am and enable at 2pm each day?
    I'm sorry if this has been asked and answered before, I tried searching the KB and google for quite some time, but to no avail. Thanks VERY much to anyone who is able to help in this!

    Thank you for your reply, I appreciate it! Unfortunately I'm not sure how to implement this.
    I see an option in WCS for Scheduling a start time for a WLAN, but no option for a stop time. Or is there a correcsponding CLI command that does this?
    As far as using active directory to implement the scheduled enable/disable I know WCS is linked to my AD through LDAP to allow user control, but I don't know how to use AD to control login times. Can you give me any pointers on how to do this, or point me in the direction of the appropriate manual.
    Thanks again for the help so far!

Maybe you are looking for

  • Bank statement issue with ending balance less than 1 euro

    Hello, we have an issue. When the ending balance amount in the ebs is 0,15 the system reads this amount as a BAI status instead of an amount. Consequently the number near the 015 is read as an amount. For example this is a row of the ebs: 88, 045,015

  • Mountain lion combo updater

    I can't find a download link for the 10.8 combo updater.  Does it usually take a while after release for that to appear?

  • Missing add-on Convert to pdf in IE10 and Adobe Acrobat XI

    Hello, I have Windows 8 with Adobe Acrobat XI Pro installed but I cannot find the internet explorer 10 "adds-on" (nor the icon on the IE bar) for the "Convert to pdf file" anymore. I think the problem originated when I installed Creative Suite CS3 an

  • Ips license renew

    I have 2 ips license of cisco asa and one of them i has been used but i dont know which one has been used so how could i know which one used, what is the validity period and how could i update license if required please try to provide me each and eve

  • Add On Starts only once

    Hello to all, we are facing a problen with single sign on to SBO. Add On connect works only once, the second time, after stopping the Add On from SBO Add On Manager, SBO shows a message, 'Add On Time' out or 'Invalid Connection string'. This happens