DevOps Examples

Jenkins Weekly Build Cron Expression

Run a Jenkins-compatible weekly build every Friday at 6 PM with 0 18 * * 5.

Cron expression

0 18 * * 5

Plain English explanation

Runs every Friday at 6:00 PM.

Jenkins supports standard cron-like syntax and also has an H token for spreading load across jobs.

Field breakdown

Minute

0

At minute 0

0-59

Hour

18

At 6 PM

0-23

Day of Month

*

Every day of the month

1-31

Month

*

Every month

1-12

Day of Week

5

On Friday

0-7, where 0 or 7 is Sunday

Use case

Useful for weekly CI jobs, release checks, or scheduled build pipelines.

FAQ

What does this cron expression mean?

Runs every Friday at 6:00 PM.

Can I use this in Linux crontab?

Yes. This is a standard Linux 5-field cron expression when used with a normal crontab command.

Does this work in GitHub Actions?

Usually yes for 5-field syntax, but GitHub Actions schedules run in UTC and may be delayed during high load.

How can I change the time?

Edit the minute and hour fields, or open the expression in the Cron Generator or Playground.

How can I test this expression?

Use the Cron Validator to check syntax and the Next Run Calculator to preview upcoming executions.