Introducing: Cron jobs in recurrent pipelines

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.

Image loading...Setting 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
Warning
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.

Jarek Dylewski

Jarek Dylewski

Customer Support

A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.

Jul 25th 2018
Share