webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Scheduling Service by date

  • 1.  Scheduling Service by date

    Posted Fri September 10, 2004 07:53 PM

    Hi,

    Is it possible to set a scheduled task in IS4.6 to run on the last day of a month?


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Scheduling Service by date

    Posted Tue September 14, 2004 06:10 PM
    1. Schedule service to run on 28th, 29th, 30th, 31st of all months.
    2. In service, branch on: (if today’s date + 1 day = 1st.) If false, exit the flow.

    Should work. You might need to write some java to increment date (add 1 day).


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Scheduling Service by date

    Posted Wed September 15, 2004 12:39 AM

    Hi,

    Is their any generic code/service to add days/hours to a date.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Scheduling Service by date

    Posted Wed September 15, 2004 08:46 AM

    Look at the PSUtilities package on Advantage. It has a servcie called IncrementDate


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Scheduling Service by date

    Posted Wed September 15, 2004 10:51 PM

    Piara,
    you can also use java.util.Calender method add(int field, int amount).

    This is quite generic to add days,hours, months etc.

    Let us know if you need further help with add.

    HTH,
    Saurabh.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 6.  RE: Scheduling Service by date

    Posted Fri September 17, 2004 01:22 AM

    Saurabh,

    I managed to get hold of the “IncrementDate” service. This has solved my problem.

    Thanks to everyone their help.

    Does IS6.1 have a better scheduler where I can at least specify timezone?


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 7.  RE: Scheduling Service by date

    Posted Mon October 03, 2005 12:32 PM

    how to pick the data from FTP site using a scheduled service


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 8.  RE: Scheduling Service by date

    Posted Mon October 03, 2005 12:49 PM

    Karanam,
    You can first write the flow service for FTP.You can find the services in WmPublic package(pub.client.ftp service or pub.client.ftp package depending on your need).Then you can go to Administrator GUI Server—>Scheduler and schedule that particular FTP service to run whenever you want it to.

    HTH…

    Thanks,
    Puneet Verma


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 9.  RE: Scheduling Service by date

    Posted Wed October 05, 2005 07:33 AM

    hi verma

    now igot that and thanks for ur help.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 10.  RE: Scheduling Service by date

    Posted Wed October 05, 2005 08:33 AM

    when i try to open my IS it is asking username and password for more than 3 times though i give valid username and password.what could be the problem and how can we resolve this.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 11.  RE: Scheduling Service by date

    Posted Wed October 05, 2005 03:36 PM

    This is usually because the username does not belong to the appropriate group. If you’re trying to run Administrator, the username needs to be in the Administrators group.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 12.  RE: Scheduling Service by date

    Posted Thu October 06, 2005 11:20 AM

    Hi Rob

    my username is there in administrators group.its asking for atleast 3 times after that it will get connected


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods