Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] convert from 'date +"%H-%M %m-%d-%Y"' to seconds from 1970
- Date: Wed, 06 May 2020 13:22:41 +0200 (CEST)
- From: "Beyer, Christoph" <christoph.beyer@xxxxxxx>
- Subject: Re: [HTCondor-users] convert from 'date +"%H-%M %m-%d-%Y"' to seconds from 1970
ah,
mille gracie, this did the trick:
AtlasSeconds = 1588874264
STARTD_ATTRS = $(STARTD_ATTRS), AtlasSeconds, FITS_IN_MAINTENANCE
FITS_IN_MAINTENANCE = (time() + TARGET.RequestRuntime) < $(AtlasSeconds)
START = $(START:True) && (FITS_IN_MAINTENANCE)
Best
christoph
--
Christoph Beyer
DESY Hamburg
IT-Department
Notkestr. 85
Building 02b, Room 009
22607 Hamburg
phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx
----- UrsprÃngliche Mail -----
Von: "Carsten Aulbert" <carsten.aulbert@xxxxxxxxxx>
An: "htcondor-users" <htcondor-users@xxxxxxxxxxx>, "Christoph Beyer" <christoph.beyer@xxxxxxx>
Gesendet: Mittwoch, 6. Mai 2020 13:05:00
Betreff: Re: [HTCondor-users] convert from 'date +"%H-%M %m-%d-%Y"' to seconds from 1970
Hi
On 5/6/20 12:56 PM, Beyer, Christoph wrote:
> FITS_IN_MAINTENANCE = (time() + TARGET.RequestRuntime) < Atlas.Seconds
Just a shot into the dark: $(Atlas.Seconds)?
(Are dots allowed in variable/macronames?)
Cheers
Carsten
--
Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
CallinstraÃe 38, 30167 Hannover, Germany
Phone: +49 511 762 17185