[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gnubatch] Any way to vary output directory
From: |
Reuti |
Subject: |
Re: [help-gnubatch] Any way to vary output directory |
Date: |
Fri, 13 Apr 2012 22:09:13 +0200 |
Am 13.04.2012 um 18:02 schrieb Wechsler, Steven:
> I’d like to have my job’s output sent to a directory named something like:
>
> /opt/jobs/output/jobname/year/month/day
I would say it should work according to the documentation of Meta-Data on page
49 of the Reference Manual, but it doesn't:
$ gbch-r -I '>`date +/tmp/%Y/%m/%d/`%d1' test.sh
The part `date +/tmp/%Y/%m/%d/` should be computed at runtime, but instead it
tries to write to:
Cannot open file `date +/tmp/%Y/%m/%d/`24830 - No such file or directory
-- Reuti
NB: The directory structure I also created beforehand, I also tried to use %%
which is correctly replaced by a single % by gnubatch.
> Any way to do this with +input-output? If not, could we make it a feature
> request for the new version?
>
> Thanks,
>
> Steve
>
> Steve Wechsler
> Senior Database Administrator
> Viacom Media Networks
> +212 846 5683
>