Introducing: Cron jobs in recurrent pipelines

July 25, 2018

Introducing: Cron jobs in recurrent pipelines

As you probably know, pipelines in Buddy can be run in three ways:

  • Automatically on push
  • Manually on click
  • Recurrently on time interval

The last method can prove very powerful when properly put practice. For example, you can use it to monitor your servers or backup WordPress sites. However, the recurrent mode lacked advanced config settings, such as running the pipeline only on working days. We have addressed that by adding cron jobs to the pipeline settings.

Setting a cronSetting a cron

How cron jobs work

Cron jobs can be activated by putting the pipeline in recurrent mode and switching it from 'Simple' to 'Advanced'. Buddy supports UNIX syntax for cron setup:

  • 5 4 * * * – at fixed time of day
  • 0 0 1 * * – on the first day of a month
  • 0 9 * * 1 – on Mondays at 9 AM
  • 0 5 * * 1-5 – Monday to Friday at 5 PM
  • */20 8-16 * * 1-5 – Every 20 min between 8 AM and 4 PM, Monday to Friday
Make sure that the entered time matches the time on the server – Coordinated Universal Time (UTC).

What’s Next?

Buddy is 100% customer driven. If there’s a feature or integration you miss, let us know on the livechat or directly at support@buddy.works.

Share:

Alexander Kus

Alexander Kus

Customer Success Manager

A story-teller and conversation-lover, Alexander decided to invest his skills to help his friends at Buddy transform the cold language of patch notes into exciting narratives. Also: an avid gamer, hip-hop DJ, Liverpool FC fan, absentminded husband, and the father of two.