Reg KM Scheduler Application

Hi All,
I am working on an application where I need to set up a background task. For this I am using KM Schedulers.
My job to schedule should do the following probably daily once:
I need to check all the documents inside a particular location, it may be files or folders. For every file there is a particular property attached. I need to check this property and if it falls under a particular value, I need to send a notification mail to the document owner.
So mails should go to all the owners of documents satisfying the condition.
Now i tried doing it through KM Schedulers, but not very successful untill now. I can see my scheduler in the Scheduler Tasks list, I set a particaular time table also. But i dont see anything happenning after that.
I am new to KMC and using KM APIs. I am not sure if there is some problem with the code part or there is any other setting we need to do to finally run the scheduler.
Please help me with this with some useful inputs. Also pls provide me the exact code that can be used for sending mails to users for this requirement.
Thanks in Advance!!
Regards.

Hi,
As I am currently stuck with adding my scheduling task to the tasks list...I have some time to answer you :-D.
To send some mails through KM you can use the Channels. It's quite easy to use.
Example:
IChannel channel = ChannelFactory.getInstance().getChannel(ChannelFactory.EMAIL);
String title = "Title";
String mime = "text/html";
String from = "fromATportal.com";
String message = "Here you message ";
Strinng emailTo = "youATcompany.com";
channel.sendTo(emailTo , from, title, Mes, mime);
For your scheduler task to work you have to select some times from time table AND select a system ID from your CM systems table.
Regards,
Thomas

Similar Messages

  • How to call request object of IPortalComponent in KM Scheduler application

    Hi
    We are reading RFC Table data using JCO Connection Pool(JCOClientPoolEntry. Please find the below teo line code.If we put this code in KM Scheduler application then its throwing error for the request objecct of IPortalComponenetRequest.
    IJCOClientPoolEntry jcoPoolEntry = null;
    jcoPoolEntry = clientService.getJCOClientPoolEntry(sysId, request);
    Can you please let me know how to use request object of IPortalComponent in KM Scheduler application?
    Thanks,
    Susmita

    Hello GopalY,
    In my experience its not possible to call OLE object in Webui. Maybe customer 3 party application will be supply some web service to handle credit card payments. I think this is the simple way to access 3party application.
    Regards,
    Zafer,

  • Help with structure of scheduling application.

    I am working on a web scheduling application, very similar to how Microsoft Outlook works.
    We need to be able to set recurrence on various tasks and appointments.
    What we are struggling with, is how exactly to structure the data. Does anyone know how this is usually done?
    At first, we were just going to create individual entries into the database for each recurrence. But we quickly figure out that a task that runs every hour for 10 years amounts to over 87,000 entries. This does not scale well at all.
    Any suggestions would be appreciated.
    Thanks!

    It really depends on what information you need.
    If, for example, you needed to produce a December, 2004 calendar that showed what tasks were going to be executed at what time on what days, then there are two basic ways to approach that:
    1. When you create a task, figure out all of the future times when it will be executed and store those in a database. That has the problem that you already identified, plus others (such as if you want to change a task from running every Monday at 8 am to running every Tuesday at 8 am, you've got a lot of database work to do).
    2. You need to be able to ask a task about its future execution times in a given range. So your task object would just have recurrence information, and it would have a method that takes a start and end date and returns a list of times when the task is scheduled to run.
    But if you don't need that, you just need to know the next time that each task is scheduled to run, then you seem to have a solution to that already.
    The other decision you need to make is whether a task is mutable or not. For example, if I set up a task to run every Monday at 8 am, can I change that to run every Tuesday at 8 am? Or do I need to create a new task to do that, and delete the old one? And if I can change it, what happens to the job that's already scheduled for next Monday? Does that stay there, and all subsequent jobs run on Tuesdays, or does it get changed to run on next Tuesday too?

  • Guidance needed please for architecting a scheduled application process (Worker Role vs. VM Role)

    I'm close to putting all of the pieces together for an Azure Cloud Services solution that I want to build. 
    My goal is to build a .NET Library (or perhaps a Windows Service or even a Console Application) that will run once a day to execute dynamic queries against an Azure SQL DB. 
    There would be 1-x numbers of these query sets that will need to be run during the process, and after each query set an email will be sent out containing data from the query results (which shouldn't be terribly large or processor intensive) to an email
    recipient specific to that data set.  I plan on using an assigned Office 365 Mailbox as the sender account and email recipients would all be in the same Exchange organization. 
    I haven't decided on the emailing API yet, but it may require dependencies to be installed on Windows Server (e.g. the MAPI subsystem, AKA the Mail applet in Control Panel - so I can use Redemption which is a third-party replacement for the Outlook Object
    Model that doesn't require Outlook to be installed) unless I go with Exchange Web Services or the Office 365 REST APIs.
    So my main question is what's more appropriate, a VM or a Worker Role?
    Since the processing should only take 5-10 minutes to complete, I'd like to minimize the uptime of the VM or Worker Role and be able to turn it on when the scheduled time occurs, and turn it off when
    the processing is done.
    I'm also trying to understand how to fit in either the Azure Scheduler Service or the Windows Task Scheduler in the OS to auto-run my .NET application and/or Worker Role/VM.
    Any guidance would be appreciated!
    Eric Legault (MVP: Outlook)
    Co-author, Microsoft Office 2013 Professional Step-By-Step
    Try Outlook Touch!

    Hello Eric,
      There is currently no Option for automatically deploying an Azure Role, running it and then Shutting it down or Deleting it. That kind of functionality is possible using the
    Windows Azure service Management API which is used by  the Windows Azure PowerShell cmdlets.
    Regards,
    Nithin Rathnakar

  • Re:Reg job scheduling

    Hi,
            I have developed a report , i need to do background scheduling, i should create a variant so tht the report should run  as of the system date when pgi has done
           what r the steps

    Hello SravanthiGopal,
    Kasturi here...
    The steps regarding the s cheduling were....
    1..Create a Variant for the program at transaction SE38.
    2..Go to TCode SM36.
    > Give some Jobname as ZJOB ( or anything starts with Z).
    > Now Click on button 'Step' on application tool bar.
    > IIt opens up a pop-up there you need to mention the corresponding Program and   its Variant (Dont forget to mention Variant its mandatory).
    > Click on 'Save' button on that pop-up positioned at the bottom.
    Then It brings you back to the scheduling screen.
    > Now Click on the 'Start Condition' button on application tool bar.
    > Mention the time and date as per your requirement.
    > And Click on 'Save' button on that pop-up.
    Then It brings you back to the scheduling screen.
    > Now just click on 'SAVE' button on the screen provided at the standard tool bar.
    >  You need to get a message on Status bar that status of the scheduled job is    released. If you are getting this message then go and click on 'JOB SELECTION'
    button.
    > It opens a new screen. Just press 'F8' i.e. Excute.
      Your Job got Scheduled Now.
    To know or Check the status of the job just click on 'OWN JOBS' button on Application Tool bar.
    It may gives you proper result.
    bye  Share a Great Day with Others..

  • How to schedule application to open/close-whenever?

    Hi All,
    I wonder if there is an application, which allows me to schedule to open and quit another applications on certain times of the day/night. I have managed to find “Quitsapps” on Versiontracker but this app schedule only other applications to close. The reason I am asking for it is because I got broadband limit, which I don’t want to use in peak hours. I just want my P2P application (Xtorrent…very recommended) to open/close itself on certain times.
    Thanks in advance.

    OS X has a built-in Unix command that can handle the task - cron. There are several GUI utilities that make it easy to set up cron tasks such as Cronnix. There are many others that you will find at VersionTracker or MacUpdate.

  • Reg: Work Schedule

    Hi Experts
    In my organisation, people are working in this pattern, 4 days morning shift, 4 days off, 4 days night shift and 4 days off. How do I form a periodic work schedule for this? and the week is from Saturday to Friday. How to i specify this? Please help me.
    Thanks
    Roopa
    Edited by: roopa krishna on May 18, 2009 12:08 PM

    Here is the updated table.
    Grpg    PWS    PWS Text    WeekNo    01    02    03    04    05    06    07
    40      REG    Reg.Shft    001       NITE  OFF   OFF   OFF   OFF   MORN  MORN
    40      REG    Reg.Shft    002       MORN  MORN  OFF   OFF   OFF   OFF   NITE 
    40      REG    Reg.Shft    003       NITE  NITE  NITE  OFF   OFF   OFF   OFF  
    40      REG    Reg.Shft    004       MORN  MORN  MORN  MORN  OFF   OFF   OFF  
    40      REG    Reg.Shft    005       OFF   NITE  NITE  NITE  NITE  OFF   OFF  
    40      REG    Reg.Shft    006       OFF   OFF   MORN  MORN  MORN  MORN  OFF  
    40      REG    Reg.Shft    007       OFF   OFF   OFF   NITE  NITE  NITE  NITE 
    40      REG    Reg.Shft    008       OFF   OFF   OFF   OFF   MORN  MORN  MORN
    40      REG    Reg.Shft    009       MORN  OFF   OFF   OFF   OFF   NITE  NITE 
    40      REG    Reg.Shft    010       NITE  NITE  OFF   OFF   OFF   OFF   MORN 
    40      REG    Reg.Shft    011       MORN  MORN  MORN  OFF   OFF   OFF   OFF  
    40      REG    Reg.Shft    012       NITE  NITE  NITE  NITE  OFF   OFF   OFF  
    40      REG    Reg.Shft    013       OFF   MORN  MORN  MORN  MORN  OFF   OFF  
    40      REG    Reg.Shft    014       OFF   OFF   NITE  NITE  NITE  NITE  OFF  
    40      REG    Reg.Shft    015       OFF   OFF   OFF   MORN  MORN  MORN  MORN 
    40      REG    Reg.Shft    016       OFF   OFF   OFF   OFF   NITE  NITE  NITE 
    Regards,
    Vivek T
    Edited by: Vivek Thomas on May 18, 2009 4:52 PM

  • A way to schedule applications launch/quit?

    Ok,
    First off let me say I'm an apple scripting noob. I've posted a similar thread in the OSX forum, and they said all the cool scripting guys hang out here. Hopefully someone here is willing to help.
    I'm looking for a way schedule when an application launches; e.g. 10min after startup? Similarly, I'd like to schedule specific programs to automatically quit at a specific time, and re-open at another; e.g. quit at 9:00am, turn on at 12:00pm? To make things more complicated, some of the programs I wish to schedule create pop-ups asking "are you sure you want to quit" and/or "do you want to save before quiting"
    I would like to avoid using ical for this task (since it will happen every day) so I downloaded Lingon. Everyone says how easy this program is to use, and I see that its indeed easy to schedule it to run a specific script at a specific time, however, I have no idea how to create the actual script.
    Any advice would be greatly appreciated. Thanks!
    edit: If I remember correctly, there once was a program that would follow your actions and create a script based around what you did, which you could then execute via key command, etc. The user would simply hit a "record" button and then it would record your actions and create a the script. Does something like this exist?
    Message was edited by: Jonathan Timpe
    Message was edited by: Jonathan Timpe

    Schedule the following scripts to run at the desired times:
    tell app "application name"
    run
    end tell
    and
    tell app "application name"
    quit
    end tell
    If you need to put a delay into the script itself, add a new line with the content:
    delay 60
    where the number is the time in seconds of the delay. Scripts are entered into the Script Editor in the /Applications/AppleScript/ folder.
    (40446)

  • Reg:Adobe Flex Application in NWDS 7.0

    Hi,
    I would like to create a Flex Application in NWDS 7.0.I tried to add Adobe Flex plugin to NWDS.It ended up with some warning.Still I am not finding any option to create flex project.
    My question is Flex plug-in works only with 7.1.Or can I really create flex project using NWDS 7.0.If yes what is the plug-in version should i use?
    Thanks
    Akshaya

    Hi Ayyappa,
    As I mentioned , I tried to add Adobe flex plugin 3.0 to NWDS.It came up with an error saying "Supported version of eclipse not found".
    So I  installed the eclipse 3.2 and added flex plug in to this eclipse,created the flex project .
    Added this project structure to the web module project in NWDS and packed it to Application Module project and deployed it to the portal.
    Created an URL iveiw in the portal.This is the way I am trying to integrate flex applications in portal.
    To integrate flash Islands in WebDynpro,I need NWDS7.1. But I am working on NWDS 7.0.
    Can I deploy the applications developed using NWDS 7.1 into Portal 7.0.Will that be compatible ?????
    I need suggestion on the same.Is there any other way that I can look into.
    Regards
    Akshaya

  • Quartz Scheduled Application not working. Please help...

    Hi All,
    I have deployed a WAR file which has implemented Quartz Scheduler to run a job.
    There were no errors in the whitelist scan, but while deploying I found an error in the server log as shown below
    "BEA-000903 [Net]" "Incident Error"
    I could not make out what the error was, but I am using a listener class to run the scheduler as below in my web.xml.
    <listener>
      <listener-class>com.crmit.scheduler.QuartzSchedulerListener</listener-class>
    </listener>
    Can anyone please advice??
    Regards,
    Abhishek

    Can you please check your service logs to see what errors are reported in the logs. The Logs can be accessed using Java Service Console,
    Please refer Administering Oracle Java Cloud Service - Release 13.1

  • Reg:call  webdynpro application in another webdynpro application

    Dear All,
         I created a Webdynpro component which on execution displays the Table output.I got a requirement to call the same Webdynpro
    component in another webdynpro component which contains a BUTTON UI element on click of it i should call the first webdynpro application output.
    How can it be done?

    you can check my wiki in SDN, link for the same is given below:
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Example%20for%20passing%20values%20from%20one%20Application%20to%20another%20Application%20in%20WebDynpro%20ABAP.
    With luck,
    Pritam.

  • Reg third party application can integrate with SAP Business one

    Dear All
    I have a typical requirement , i want to know how can it be done in SAP Business One.Our client have other application based product , he is doing all the transactions in that.He has another
    DB. that is SAP Business One. Now we want to syncronize the data between two databases. i.e if he enters a Sales order in other based that should be inserted to B1 and vice versa. Not only marketting documents but masters also and financial documents also. I hope it is possible using B1 integration Technology. Can you pls let me know how it can be done. any solution to be suggested is accepted.
    please do the needful.
    Regards
    M Auditya

    Hi,
    Actually i guess i could be possible but I'm not 100% sure on the level of integration. I recommend u to download the B1iSN and have a look at the doc.. Operation_Guide_Subsidiary_Integration_EN.pdf, And a lot depends on the database the 3rd party software is using.
    Hope it helps,
    Vasu Natari.

  • Reg. Web Application Server

    Hi Guys,
    Please see the below URL.
              http://adsap33.fssgmh.com
    As for as my knowledge is concern "adsap33" is my application server. but i am able to find out "fssgmh" in that URL.
    Please clarify me if you know.
    Thanks in Advance
    Peter B

    Hi Santhosh
    My question is 'We have got new linux box and we now need to install oracle application server in this new linux box. And afterwards we will shift to this new box after installing. So i am looking into points for installing oracle application server in this new linux box as similar to the box where it is working fine now.'
    Thanks
    Suneel Jakka

  • Reg. Scheduling agreements and contracts

    Hi Dears
    Please explain in greate details "what is schedule agreements" , "contracting", "How to use Scales in standard PO" and what is scales.
    I couln't find the proper explanation in our Forums.
    Bye
    Rajkumar

    Hi
    (1) - Schedule agreements allow you to have 2 different sets of schedule lines (VBEP-ABART).  Standard SAP you should have two sets of tabs - of schedule lines. One Forecast & the other JIT.  Forecast forwards the schedule lines to planning (seen in MD04) and JIT passes them to shipping (VL10). They can be identical or different. Typically these are used for component supplier customers (namely Automotive). The customer will provide you 4-10 weekly buckets (usually a
    Monday date) of future forecast qtys. Also send you 1-2 weeks of individual FIRM ship dates - which are entered on the JIT. It comes down to the customer not knowing exactly what they need next week, but they don't want to suprise you with a large order qty, where your lead times are 5+ days. The forecasted qtys they sent last week should account for this.
    (2) Cumulative Quantities are tracked and influence how the schedule agreement passes requirements to both forecasting and shipping. These qtys are sometimes requested by the customer on ASNs. Cumulative qtys reset at year end unless you've got a customer calendar or you've modified standard SAP user exits to not reset.
    Schedule agreements are very nice when the customer sends EDI data (830s = forecast or 862s = JITs). Outside of that they can really cause trouble regarding daily maintenance, missing requirements, *** qty corrections, year end processing, etc.
    One alternative would be to use customer independent requirements - entering the weekly, monthly forecasting qtys and entering standard sales orders (with or without multiple schedule lines) to represent the true firm qtys.
    Refer below
    http://www.sap-basis-abap.com/mm/gr-creation-for-schedule-agreement.htm
    You can fix a price in the info record for a say qty from 1-100 price RS150 & if the order qty is 101- 500- the prices is 140 . Scales cannot be used directly in PO but can be pulled into the PO from various master data like info record,  quota arrangement.
    For further details refer sdn thread below
    Contracts
    scheduling agreements
    Message was edited by:
            SHESAGIRI.G

  • Appointment Schedule application

    I am looking for an online schedule system for my counseling practice that auto-syncs with my iphone and imac at home. I found one software appointmentquest.com that allows clients to log into my schedule. It even sends email reminders to clients. Apptquest.com rep said therer are iphone users that use this software and import regularly. Before I purchase this software at $15 a month. I want to call out to see if there is other software solutions out there I should consider.
    I really want confidentiality, email reminders, and compatability with computer and iphone! Suggestions???

    When you call schedule() method in ScheduledExecutorService, it will return an instance of ScheduledFuture, in which you can call the cancel() method to cancel the scheduled task.
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html#schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledFuture.html
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Future.html#cancel(boolean)
    Hope this helps~
    Alex Lam S.L.

Maybe you are looking for