Results 1 to 6 of 6

Thread: Newbie: Quartz Cron Trigger: Changing parameters to CronTrigger

  1. #1
    Join Date
    Jan 2007
    Posts
    10

    Default Newbie: Quartz Cron Trigger: Changing parameters to CronTrigger

    Hi,

    I have a requirement to auto compute parameters (start date and end date) between executions. could some one please help me out on how to achieve this?


    Thanks in advance,
    Essarkay

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    It would be useful to know how you are trying to do this. Are you expecting to do this in XML or programmatically? So you want to get a CronTrigger and set the start and end date. Why can't you just create a trigger and schedule it, exactly what you normally do in Quartz.
    http://www.opensymphony.com/quartz/w...alLesson3.html

  3. #3
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    I'm sorry Essarkay, I deleted the private message you sent by accident. If you repost your answer, I'll try to help!

  4. #4
    Join Date
    Jan 2007
    Posts
    10

    Default

    Hi karldmoore,

    I have a Cron Trigger bean(org.springframework.scheduling.quartz.CronTri ggerBean) ,which will be configured on a weekly basis.

    This cron trigger should take start date and end date parameters(basically the last 7 calendar days when the job is going to run).

    I would like to know how can i compute the date and update the job data map?

    Could you please help me out?

    Thanks,
    Essarkay

  5. #5
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Ok, I'm getting confused. There are two threads talking about the same thing. Lets forget this one........ care it on here.
    http://forum.springframework.org/showthread.php?t=33755

  6. #6

    Default

    Hi,

    i have a problem for m y quartz:
    My job run once / day at 5am after the factor job.
    i used crontrigger like this:
    "0 0 5 * * ?" but i dont know how to represente the expression after the factor jab? in the beans or others???
    Can you help me please

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •