Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Posts
    1

    Red face Unanswered: task Scheduler current date?

    I am using DB2 version 8.1 on AIX box Unix system.

    I am attemption to schedual a job I want to run from 5:am each moring run each 3 mins untill 2:am at night.

    In order to make this work I need the system to read the system current date.

    However the only option I have is to set a hard begin and end date.

    Is there a way to override this so that the system can read the current date?

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: task Scheduler current date?

    I have not done much with the scheduler ...

    But, I can think of two options :

    1) Use the cron to schedule your job ... I think you can have more control over the scheuling

    2) Control the time of operation within your script ... ie, schedule your script to run every 3 minutes round the clock ... but your script should know that the time is between 2am and 5am and should not do the task ..

    Cheers

    Sathyaram



    Originally posted by reg6148
    I am using DB2 version 8.1 on AIX box Unix system.

    I am attemption to schedual a job I want to run from 5:am each moring run each 3 mins untill 2:am at night.

    In order to make this work I need the system to read the system current date.

    However the only option I have is to set a hard begin and end date.

    Is there a way to override this so that the system can read the current date?
    Visit the new-look IDUG Website , register to gain access to the excellent content.

Posting Permissions

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