Hi Ganesh, Thanks for the reply. We also followed the same docs. One question, what time zone these builds are triggered? The pipeline trigger did not happen at the time I had given in yml but at a different time.
Regards, Rajshri *From: *Ganesh Patil <[email protected]> *Date: *Wed, Jun 19, 2019 at 11:13 AM *To: * <[email protected]> Hi Rajshri, > > You can find more information about timer triggered pipelines here > <https://docs.gocd.org/current/configuration/admin_timer.html>. > The format for specifying the cron expression is mentioned here > <https://docs.gocd.org/current/configuration/configuration_reference.html#timer> > . > The syntax for defining timer configuration in the GoCD YAML pipeline is > documented here <https://github.com/tomzo/gocd-yaml-config-plugin#timer>. > And, Here > <https://github.com/tomzo/gocd-yaml-config-plugin/blob/7a0084fb4a251e1097b5ab0fcb6a50f927cc6a85/src/test/resources/parts/rich.pipe.yaml> > is an example of a timer triggered pipeline. > > Let us know if the above resources help!! > > Thanks, > Ganesh > > > On Wed, Jun 19, 2019 at 10:56 AM Rajshri Baghel <[email protected]> > wrote: > >> Hi, >> >> I am trying to automate the build of the pipeline to run like a cron job >> in every certain interval. >> Our GOCD instance is setup in a way that we have to do configurations via >> yml files and not directly via UI. >> I tried few things in yml for scheduling a timed build but it doesn't >> seem to work. >> >> Can you please provide documentation with example for setting timer in >> the gocd yml? >> >> Regards, >> Rajshri >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/go-cd/CAONF_r5O4YDphSwGd%2BEdj1MOeYmicAM2bR681k0BgEZMSRwRKQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/go-cd/CAONF_r5O4YDphSwGd%2BEdj1MOeYmicAM2bR681k0BgEZMSRwRKQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/CAHozDacYkc7xWbL16z2jahHrSW7VtEHg0Qnp1hCp9w_BD_Wauw%40mail.gmail.com > <https://groups.google.com/d/msgid/go-cd/CAHozDacYkc7xWbL16z2jahHrSW7VtEHg0Qnp1hCp9w_BD_Wauw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAONF_r5W76a1%3D-%3DCja%2B3XgJ3zb%3Dhav38%3DdUiJ%2Bp%3Drf%2Bkt9Fm%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
