IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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

How to Schedule a service to run on last day of every month

  • 1.  How to Schedule a service to run on last day of every month

    Posted Wed January 08, 2003 12:00 AM

    Hello,

    I know to configure a schedular to run on any day between 1 and 28th day of a month. But, i have to have a schedular to run on last day of every month i.e. 31 of Jan, 28 of Feb, . the day differs month to month

    Any help will be greatly appreciated

    Thanks
    Jay


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


  • 2.  RE: How to Schedule a service to run on last day of every month

    Posted Wed January 08, 2003 03:37 AM

    Jayakumar,
    I would try something like this. A service scheduled to run everyday, but first thing that does when it wakes up is to check if that it is the last day of the month (may be by checking next day is 1st by adding 24 hrs to today or something like that). If it is not the last day this service just exits, or else runs your service which should be run at the month end.
    You can do this check with a java service.


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