Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2004
    Posts
    113

    Unanswered: Ksh Script needed to run for specific dates

    Hello,

    Please look at the attached ksh script and I need it to run for a specific week. It is now set up to run for the week prior.
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2004
    Posts
    113
    Bump Bump Bump

  3. #3
    Join Date
    Feb 2004
    Posts
    143
    It needs to run for a specific week. It is now set up to run for the week prior.
    But probably you will get an answer weeks after !!!!!!!!!!!!
    (just kidding....). I wish I knew the answer to your question.

  4. #4
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713
    Did you read this in the script?

    usage: weekly.ksh {-s start_date_spec} {-e end_date} {-w week_spec}
    {-pW}

    options:

    -w The date of any day within the week to be processed in
    the form MM/DD/YYYY. Takes predence over -s and -e.

    -W Prompt for a date of any day within the week to be processed.

    -s The start date spec may be either an explicit date in
    the form of MM/DD/YYYY or a negative integer to indicate
    the number of days before the end date, i.e. -14 would
    indicate 14 days before the end date. The default is
    the first day of last week (sunday).

    -e The end date may be given in the form of MM/DD/YYYY. The
    default is the last day of last week (saturday).

    -p PICK from a list of procedures run.
    Maybe all you have to do is type:

    weekly.ksh -W

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

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