Release Automation

  • 1.  Date Action

    Posted Oct 19, 2018 09:56 PM

    Running Get Current Date action displays date as 20181019 to take backup of crons while on server it displays crontab_0181019_bkp.

    Please help.

     

     

    using command

     



  • 2.  Re: Date Action

    Broadcom Employee
    Posted Oct 22, 2018 01:54 AM

    Hi,

     

    I'm not sure, but $ mark is not needed in the command line.

    Did you get unexpected result when filename is "crontab_<releaseDate>_bkp"?

     

    Thanks

    Yas



  • 3.  Re: Date Action

    Broadcom Employee
    Posted Oct 22, 2018 02:11 AM

    Hi,

     

    I tried your command without RA, and then the result was same as yours.

     

     

    When $ mark is removed, it seems date is shown correctly.

     

     

    I'd like to ask you to try your command locally before implement on RA.

     

    Thanks

    Yas



  • 4.  Re: Date Action
    Best Answer

    Posted Oct 22, 2018 05:49 AM

    Yes i tried without $ and it worked.

    Thanks