Ah, so simple. Worked like a charm! Many thanks, Igor.

On Jan 23, 9:36 am, Igor Savchenko <[email protected]> wrote:
> Hello -tb,
>
> You just need to put slashes before '%': $(date "+\%Y\%m\%d\%H\%M\%S")
>
> Regards,
> Igor
>
> Sunday, January 23, 2011, 4:47:42 PM, you wrote:
>
> > I'm trying to get the output of $(date "+%Y%m%d%H%M%S") in a custom
> > script.  Scalr interprets the date format string as a custom
> > variables. When I go to run the script on a role, I get the following
> > parameters:
> > Y
> > d
> > M
> > Which is obviously not what I want. I've tried wrapping the characters
> > with quotes $(date "+%Y""%m""%d""%H""%M""%S"), hoping that it would
> > break Scalr's parameter detection, but I get parameters like, Y"".
> > Anyone have any ideas on how I can get my formatted date?
> > Thanks for the help!
>
> --
> Best regards,
>  Igor                            mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to