-
1. Re: Passing variable data as parameters to NSH jobs
Bill RobinsonOct 5, 2008 2:27 PM (in response to Craig Dockter)
I would just do this in the script itself - when it starts running have it figure out today and yesterday w/ some date manipulation.
what does the script do, and why do you need to pass it dates?
-
2. Re: Passing variable data as parameters to NSH jobs
Craig Dockter Oct 6, 2008 8:16 AM (in response to Craig Dockter)Hi Bill,
The script is the RedHat patch repository manager shell script, RedHatRepositoryManager.sh. The -checkUpdatesForChannel command requires start and end dates as parameters. Modifying the script itself isn't really an option since it just passes the command line through to a Java program. I guess I'll have to write a wrapper shell script.
Thanks for the help.
Craig Dockter
Noridian Mutual Insurance Company
-
3. Re: Passing variable data as parameters to NSH jobs
Bill RobinsonOct 6, 2008 8:42 AM (in response to Craig Dockter)
ah... so there's no ??NOW?? property available in bladelogic. jython/python has some decent date manipulation functions compared to shell (nsh/bash/etc)