Trigger Gitlab pipeline in a definite day/time

I have Gitlab pipeline triggering on each merge in other project. Now I would like to trigger pipeline regularly, let’s say, each day at the same time or once a week. Is there any way to set schedule this way?

>Solution :

You mean, like a scheduled pipeline?

It’s under "CI/CD":

  • Pipelines
  • Editor
  • Jobs
  • Schedules

Use "Custom" for "Interval Pattern" and specify it with Crontab notation:

*       *    *             *     *
minute hour day(of month) month day(of week)

For example if you wanted at 4am every Wednesday, then it’s 0 4 * * 3

Leave a Reply